Navigation Menu

Skip to content

Commit

Permalink
32-bit (etc) fixes to the test script.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 2, 2009
1 parent 17d7afc commit 292f52c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions test/test.sh
@@ -1,4 +1,12 @@
#!/bin/sh
#!/bin/bash

AMD64=0
if [ `uname -m` = "x86_64" ]; then
AMD64=1
echo "This is an x86_64 system."
else
echo "This is NOT an x86_64 system."
fi

set -e
set -x
Expand Down Expand Up @@ -65,7 +73,7 @@ gcc -m32 -O0 -ggdb3 -o hello-fatlink-x86 ../hello.c hello.so -Wl,-rpath,.
# and, you know...run the programs themselves (glibc, kernel tests).
./hello
./hello-dlopen
./hello-fatlink-amd64
[ "x$AMD64" = "1" ] && ./hello-fatlink-amd64
./hello-fatlink-x86

# end of test.sh ...
Expand Down

0 comments on commit 292f52c

Please sign in to comment.