swift/.alltests

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