Remove ARM-related hunk.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=57
This commit is contained in:
Martin Liška 2022-08-01 10:58:15 +00:00 committed by Git OBS Bridge
parent 5781c2aea9
commit cbc179fa0a

View File

@ -1,18 +1,3 @@
diff --git a/test/elf/mold-wrapper.sh b/test/elf/mold-wrapper.sh
index 077cc43..dcffbb6 100755
--- a/test/elf/mold-wrapper.sh
+++ b/test/elf/mold-wrapper.sh
@@ -13,6 +13,10 @@ cd "$(dirname "$0")"/../..
t=out/test/elf/$testname
mkdir -p $t
+# Skip if target is ARM
+# https://github.com/rui314/mold/issues/442
+[[ $MACHINE = "arm"* ]] && { echo skipped; exit; }
+
[ "$CC" = cc ] || { echo skipped; exit; }
ldd mold-wrapper.so | grep -q libasan && { echo skipped; exit; }
diff --git a/test/elf/relocatable.sh b/test/elf/relocatable.sh
index 0065479..c5fe661 100755
--- a/test/elf/relocatable.sh