swift/.alltests
Ondřej Nový 19102c6e7f Apply bash error handling consistently in all bash scripts
Change-Id: I36dcff9cc2593bcfb6aebbe84b59d95c711eb3e4
2016-10-11 22:13:06 +02:00

23 lines
338 B
Bash
Executable File

#!/bin/bash
set -e
TOP_DIR=$(python -c "import os; print os.path.dirname(os.path.realpath('$0'))")
echo "==== Unit tests ===="
resetswift
$TOP_DIR/.unittests $@
echo "==== Func tests ===="
resetswift
startmain
$TOP_DIR/.functests $@
echo "==== Probe tests ===="
resetswift
$TOP_DIR/.probetests $@
echo "All tests runs fine"
exit 0