From 031d9d0fb4eb07cef8a8fe3f247a32ce8c7bb76c Mon Sep 17 00:00:00 2001 From: Julien Date: Sat, 22 Oct 2011 18:36:15 +0200 Subject: [PATCH] Trashy support of ld-linux-*.so like for x64 --- run_tests.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index ec8a041..9742d23 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -26,11 +26,19 @@ EOF exit fi +make clean if [ "$1" = c ] then make && make test - /lib/ld-linux.so.2 --library-path . ./test /usr/bin/top + if [ -x /lib/ld-linux-*.so.2 ] + then + echo Using /lib/ld-linux-*.so.2 to run test + /lib/ld-linux-*.so.2 --library-path . ./test /usr/bin/top + else + echo Using /lib/ld-linux.so.2 to run test + /lib/ld-linux.so.2 --library-path . ./test /usr/bin/top + fi exit fi