1
1
mirror of https://github.com/rui314/mold.git synced 2024-10-04 08:37:28 +03:00

Fix tests for ASAN and TSAN

This commit is contained in:
Rui Ueyama 2022-04-29 19:52:49 +08:00
parent fafb75b0e5
commit 62b3a3dca9
2 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,8 @@ mkdir -p $t
ldd "$mold"-wrapper.so | grep -q libasan && { echo skipped; exit; }
nm $mold | grep -q '__[at]san_init' && { echo skipped; exit; }
cat <<'EOF' > $t/a.sh
#!/bin/bash
echo "$0" "$@"

View File

@ -16,6 +16,8 @@ mkdir -p $t
ldd "$mold"-wrapper.so | grep -q libasan && { echo skipped; exit; }
nm $mold | grep -q '__[at]san_init' && { echo skipped; exit; }
rm -rf $t
mkdir -p $t/bin $t/lib/mold
cp "$mold" $t/bin