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