Skip to content

Commit

Permalink
suite: add test_ppc and some other minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Jan 8, 2014
1 parent fc4bc12 commit 79654d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function build {

case "$1" in
"" ) build;;
"default" ) build;;
"nix32" ) CFLAGS=-m32 LDFLAGS=-m32 build;;
"clang" ) CC=clang build;;
"cross-win32" ) CROSS=i686-w64-mingw32- build;;
Expand Down
13 changes: 7 additions & 6 deletions suite/compile_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,24 @@

export LD_LIBRARY_PATH=.

for x in nix32 clang cross-win32 cross-win64 cygwin-mingw32 cygwin-mingw64; do
for x in default nix32 clang cross-win32 cross-win64 cygwin-mingw32 cygwin-mingw64; do
echo -n "Compiling: $x ... "
./compile.sh $x &> /dev/null

if [ $? == 0 ]; then
echo "$x -> compiled"
echo "-> PASS"
else
echo -e "$x -> failed to compile\n"
echo -e "-> FAILED\n"
continue
fi

for t in test test_arm test_arm64 test_detail test_mips test_x86; do
for t in test test_arm test_arm64 test_detail test_mips test_x86 test_ppc; do
./tests/$t &> /dev/null

if [ $? -eq 0 ]; then
echo " $t -> PASS"
echo " Run $t -> PASS"
else
echo " $t -> FAIL"
echo " Run $t -> FAIL"
fi
done

Expand Down

0 comments on commit 79654d1

Please sign in to comment.