summaryrefslogtreecommitdiff
path: root/.alltests
diff options
context:
space:
mode:
Diffstat (limited to '.alltests')
-rwxr-xr-x.alltests33
1 files changed, 33 insertions, 0 deletions
diff --git a/.alltests b/.alltests
new file mode 100755
index 000000000..bccb126cb
--- /dev/null
+++ b/.alltests
@@ -0,0 +1,33 @@
+#!/bin/bash
+
+TOP_DIR=$(python -c "import os; print os.path.dirname(os.path.realpath('$0'))")
+
+echo "==== Unit tests ===="
+resetswift
+$TOP_DIR/.unittests $@
+rvalue=$?
+if [ $rvalue != 0 ] ; then
+ exit $rvalue
+fi
+
+echo "==== Func tests ===="
+resetswift
+startmain
+$TOP_DIR/.functests $@
+rvalue=$?
+if [ $rvalue != 0 ] ; then
+ exit $rvalue
+fi
+
+echo "==== Probe tests ===="
+resetswift
+$TOP_DIR/.probetests $@
+rvalue=$?
+if [ $rvalue != 0 ] ; then
+ exit $rvalue
+fi
+
+echo "All tests runs fine"
+
+exit 0
+