2015-10-10 14:56:30 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2016-08-18 09:48:45 +02:00
|
|
|
set -e
|
|
|
|
|
2015-10-10 14:56:30 +02:00
|
|
|
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
|