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:
parent
fafb75b0e5
commit
62b3a3dca9
@ -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" "$@"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user