Commit | Line | Data |
---|---|---|
e3fa263d DG |
1 | #!/bin/bash |
2 | ||
355f483d DG |
3 | DIR=$(dirname $0) |
4 | ||
e72d66a6 DG |
5 | tests=( $DIR/run-ust-global-tests.sh $DIR/nevents/run $DIR/nprocesses/run \ |
6 | $DIR/high-throughput/run ) | |
e3fa263d DG |
7 | exit_code=0 |
8 | ||
9 | function start_tests () | |
10 | { | |
11 | for bin in ${tests[@]}; | |
12 | do | |
8e0dbb65 | 13 | ./$bin |
e3fa263d DG |
14 | # Test must return 0 to pass. |
15 | if [ $? -ne 0 ]; then | |
16 | exit_code=1 | |
17 | break | |
18 | fi | |
19 | done | |
20 | } | |
21 | ||
e3fa263d DG |
22 | start_tests |
23 | ||
e3fa263d | 24 | exit $exit_code |