From e02a7fed6e87c9039f021b0aee50a7eea51ee5d4 Mon Sep 17 00:00:00 2001 From: Jon Schlueter Date: Fri, 5 Nov 2010 22:22:11 -0400 Subject: Add -h option to regress-driver --- regress-driver | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'regress-driver') 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 - 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" + echo "-o - 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 -- cgit v1.2.1