Files
fc04dc1cf20335b7efe9548c5b5243fae0b5a620
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