diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-08 05:00:05 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-08 10:17:31 -0500 |
commit | 641e3ed25c1b4e2bdc091f01549b9124fa37eba1 (patch) | |
tree | 00809875f312768f996a17b156b77eec6969ebef /regress-driver | |
parent | 940c4545669bfdc63a374f8733819d41686008c3 (diff) | |
download | gpsd-641e3ed25c1b4e2bdc091f01549b9124fa37eba1.tar.gz |
Regretfully, give up on the raw-regress test.
It wasn't part of the normal test dequence for good reason. There are
just too many silly ways for it to go wrong, failing or even hanging.
due to bad interactions between logfiles with trailing content that isn't
a whole packet and various quirks of the test framework.
Given that even raw mode is a fossil - let alone superraw mode - there's
not enough value in this test to be worth the hassle.
Diffstat (limited to 'regress-driver')
-rwxr-xr-x | regress-driver | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/regress-driver b/regress-driver index 37b6e2c4..b6155812 100755 --- a/regress-driver +++ b/regress-driver @@ -37,14 +37,13 @@ opts="" logfile="" help="0" baton=false -while getopts cl:strbuvo:h opt +while getopts cl:stbuvo:h opt do case $opt in c) testing=clientlib ;; # Can be 'daemon' l) logfile=$OPTARG ;; # Logfile to save diffs to s) mode=regress ;; # Run regression tests t) baton=true mode=regress ;; # Run regression tests w/baton - r) mode=superraw ;; # Run superraw regressions (r=2 mode) b) mode=build ;; # Rebuild regression check files u) opts="$opts -u" ;; # Force UDP v) mode=view ;; # View result of generating a check file @@ -64,7 +63,6 @@ then echo "-l <filename> - where to log diffs to" echo "-s - run regreession tests" echo "-t <ots> - Run regression tests w/baton" - echo "-r - run superraw regressions (r=2 mode)" echo "-b - Rebuild regression check files" echo "-u - Force UDP" echo "-v - view result of generating a check file" @@ -154,15 +152,6 @@ case $mode in status=0; fi ;; - superraw) - echo "Testing super-raw mode..." >&2 - for f in $*; do - ${PYTHON} ${GPSD_HOME}/gpsfake -s 38400 -1 -p $opts -r '?WATCH={"enable":true,"raw":2}' $opts ${f} \ - | ./devtools/striplog -n 4 >${TMP}/test1-$$.chk; - ./devtools/striplog <${f} >${TMP}/test2-$$.chk; - cmp ${TMP}/test[12]-$$.chk; - done; rm ${TMP}/test[12]-$$.chk - ;; build) echo "Rebuilding $testing regressions..." >&2 for f in $*; do |