Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#! /bin/bash

export LD_LIBRARY_PATH=.

for x in nix32 clang cross-win32 cross-win64 cygwin-mingw32 cygwin-mingw64; do
./compile.sh $x &> /dev/null

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

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

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

echo
done

make clean &> /dev/null