summaryrefslogtreecommitdiff
path: root/build_and_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_and_test.sh')
-rwxr-xr-xbuild_and_test.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/build_and_test.sh b/build_and_test.sh
index 66ba8d8..46ed36a 100755
--- a/build_and_test.sh
+++ b/build_and_test.sh
@@ -226,10 +226,6 @@ if [ $? -ne 0 ]; then
exit 1
fi
-if [ $SKIP_TESTS -ne 0 ] || [ "$COMPILE" = "emcc" ]; then
- exit 0
-fi
-
echo "Build test suite"
$COMPILE $FLAGS \
$FLAG_EXE"$FOLDER/test_suite$EXE_POSTFIX" \
@@ -285,6 +281,10 @@ if [ $? -ne 0 ]; then
exit 1
fi
+if [ $SKIP_TESTS -ne 0 ] || [ "$COMPILE" = "emcc" ]; then
+ exit 0
+fi
+
echo "Run tests"
echo ""