diff options
-rwxr-xr-x | regress-driver | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/regress-driver b/regress-driver index 4021029e..8ad828e5 100755 --- a/regress-driver +++ b/regress-driver @@ -35,7 +35,8 @@ mode=regress testing=daemon opts="" logfile="" -while getopts cl:strbuvo: opt +help="" +while getopts cl:strbuvo:h opt do case $opt in c) testing=clientlib ;; # Can be 'daemon' @@ -47,10 +48,31 @@ do u) opts="$opts -u" ;; # Force UDP v) mode=view ;; # View result of generating a check file o) opts="$opts $OPTARG" ;; # Pass options to gpsfake + h) help="1" esac done shift $(($OPTIND - 1)) +if [ $help -eq "1" ] +then + echo + echo + echo "Regression test driver script" + echo "-h - this help" + echo "-c - can be 'daemon'" + 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 <opt> - Force UDP" + echo "-v - view result of generating a check file" + echo "-o <opt> - Pass options to gpsfake" + echo + + exit 0 +fi + # Enables us to turn debugging up high without screwing up the diff checks # First and Second filter out gpsd log messages. # Third filters out gps.py verbose loggging |