Skip to content

Commit

Permalink
Remove a test that uses valgrind
Browse files Browse the repository at this point in the history
Looks like it is causing a false negative on some ARM32-based systems.

Fixes #442
  • Loading branch information
rui314 committed Aug 18, 2022
1 parent 053b90b commit 6d5e3e7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/elf/mold-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,4 @@ LD_PRELOAD=`pwd`/mold-wrapper.so MOLD_PATH=$t/a.sh $t/exe execv | grep -q 'a.sh
LD_PRELOAD=`pwd`/mold-wrapper.so MOLD_PATH=$t/a.sh $t/exe execvp | grep -q 'a.sh execvp'
LD_PRELOAD=`pwd`/mold-wrapper.so MOLD_PATH=$t/a.sh $t/exe execvpe | grep -q 'a.sh execvpe bar'

valgrind="$(which valgrind 2> /dev/null; true)"
if [ -n "$valgrind" ]; then
LD_PRELOAD=`pwd`/mold-wrapper.so MOLD_PATH=$t/a.sh "$valgrind" -q $t/exe execl | grep -q 'a.sh execl'
fi

echo OK

0 comments on commit 6d5e3e7

Please sign in to comment.