diff options
author | Jon Schlueter <jon.schlueter@gmail.com> | 2010-11-05 22:22:11 -0400 |
---|---|---|
committer | Jon Schlueter <jon.schlueter@gmail.com> | 2010-11-05 22:22:11 -0400 |
commit | e02a7fed6e87c9039f021b0aee50a7eea51ee5d4 (patch) | |
tree | 8f26aadef22933d6d47717fd0d7042bb06e3e87e /regress-driver | |
parent | cae1dc67e1fdca5765d210cfa1512ac46766ce43 (diff) | |
download | gpsd-e02a7fed6e87c9039f021b0aee50a7eea51ee5d4.tar.gz |
Add -h option to regress-driver
Diffstat (limited to 'regress-driver')
-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 |