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 \ |
b19155c0 | 6 | $DIR/high-throughput/run $DIR/before-after/run ) |
4d5b973e DG |
7 | |
8 | # $DIR/low-throughput/run --> DEACTIVATED. | |
9 | # Use only for release. This test last 20 minutes | |
10 | ||
e3fa263d DG |
11 | exit_code=0 |
12 | ||
13 | function start_tests () | |
14 | { | |
15 | for bin in ${tests[@]}; | |
16 | do | |
8e0dbb65 | 17 | ./$bin |
e3fa263d DG |
18 | # Test must return 0 to pass. |
19 | if [ $? -ne 0 ]; then | |
20 | exit_code=1 | |
21 | break | |
22 | fi | |
23 | done | |
24 | } | |
25 | ||
e3fa263d DG |
26 | start_tests |
27 | ||
e3fa263d | 28 | exit $exit_code |