OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=53
29 lines
920 B
Diff
29 lines
920 B
Diff
diff --git a/test/elf/mold-wrapper.sh b/test/elf/mold-wrapper.sh
|
|
index 077cc43..58da342 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
|
|
+++ b/test/elf/relocatable.sh
|
|
@@ -14,7 +14,7 @@ t=out/test/elf/$testname
|
|
mkdir -p $t
|
|
|
|
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98667
|
|
-[ $MACHINE = i386 ] && { echo skipped; exit; }
|
|
+[ $MACHINE = i386 -o $MACHINE = i686 ] && { echo skipped; exit; }
|
|
|
|
cat <<EOF | $CXX -c -o $t/a.o -xc++ -
|
|
int one() { return 1; }
|