Revision 5f7d4181 test/hs/offline-test.sh
b/test/hs/offline-test.sh | ||
---|---|---|
20 | 20 |
# This is an offline testing script for most/all of the htools |
21 | 21 |
# programs, checking basic command line functionality. |
22 | 22 |
|
23 |
# Optional argument that specifies the test files to run. If not |
|
24 |
# specified, then all tests are run. |
|
25 |
# |
|
26 |
# For example, a value of 'balancing' runs the file |
|
27 |
# 'shelltests/htools-balancing.test'. Multiple files can be specified |
|
28 |
# using shell notation, for example, '{balancing,basic}'. |
|
29 |
TESTS=${1:-*} |
|
30 |
|
|
23 | 31 |
set -e |
24 | 32 |
set -o pipefail |
25 | 33 |
|
... | ... | |
97 | 105 |
echo Running shelltest... |
98 | 106 |
|
99 | 107 |
shelltest $SHELLTESTARGS \ |
100 |
${TOP_SRCDIR:-.}/test/hs/shelltests/htools-*.test \ |
|
101 |
-- --hide-successes |
|
102 |
|
|
103 |
echo All OK |
|
108 |
${TOP_SRCDIR:-.}/test/hs/shelltests/htools-$TESTS.test |
Also available in: Unified diff