Commit | Line | Data |
---|---|---|
e3fa263d DG |
1 | #!/bin/bash |
2 | ||
355f483d DG |
3 | DIR=$(dirname $0) |
4 | ||
51c96b7d | 5 | tests=( $DIR/run-ust-global-tests.sh $DIR/nprocesses/run \ |
00eb21af DG |
6 | $DIR/high-throughput/run $DIR/before-after/run \ |
7 | $DIR/multi-session/run ) | |
4d5b973e DG |
8 | |
9 | # $DIR/low-throughput/run --> DEACTIVATED. | |
10 | # Use only for release. This test last 20 minutes | |
11 | ||
e3fa263d DG |
12 | exit_code=0 |
13 | ||
14 | function start_tests () | |
15 | { | |
16 | for bin in ${tests[@]}; | |
17 | do | |
8e0dbb65 | 18 | ./$bin |
e3fa263d DG |
19 | # Test must return 0 to pass. |
20 | if [ $? -ne 0 ]; then | |
21 | exit_code=1 | |
22 | break | |
23 | fi | |
24 | done | |
25 | } | |
26 | ||
e3fa263d DG |
27 | start_tests |
28 | ||
e3fa263d | 29 | exit $exit_code |