summaryrefslogtreecommitdiff
path: root/.alltests
blob: ac30d573868a331ad291a891497293352cf563db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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