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