From 641e3ed25c1b4e2bdc091f01549b9124fa37eba1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 8 Nov 2013 05:00:05 -0500 Subject: 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. --- regress-driver | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'regress-driver') 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 - where to log diffs to" echo "-s - run regreession tests" echo "-t - 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 -- cgit v1.2.1