RELEASE/1.0RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereostereo-2025walls-datawalls-data-hanging-as-warningwarn-only-for-hanging-survey
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | # allow us to run tests standalone more easily |
---|
4 | : ${srcdir=.} |
---|
5 | |
---|
6 | # force VERBOSE if we're run on a subset of tests |
---|
7 | test -n "$*" && VERBOSE=1 |
---|
8 | |
---|
9 | : ${DIFFPOS=../src/diffpos} |
---|
10 | |
---|
11 | SURVEXHOME=$srcdir/../lib |
---|
12 | export SURVEXHOME |
---|
13 | |
---|
14 | : ${TESTS=${*-"delatend addatend"}} |
---|
15 | |
---|
16 | for file in $TESTS ; do |
---|
17 | echo $file |
---|
18 | rm -f diffpos.tmp |
---|
19 | $DIFFPOS $srcdir/${file}a.pos $srcdir/${file}b.pos > diffpos.tmp |
---|
20 | test -n "$VERBOSE" && cat diffpos.tmp |
---|
21 | cmp diffpos.tmp $srcdir/${file}.out > /dev/null || exit 1 |
---|
22 | rm -f diffpos.tmp |
---|
23 | done |
---|
24 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.