diff --git a/scripts/reptest b/scripts/reptest index f1361b7e148ab91fcdca8609f33085483f56366a..92cdcc46ed9cf11d56fee9647c163a7b6ce33677 100755 --- a/scripts/reptest +++ b/scripts/reptest @@ -21,15 +21,15 @@ def help(): print "-v Display verbose output, including all scores" print "-d Run Docker test" print "-s Run Singularity test" - print "-n RUNS Number of runs to execute (default " + str(RUNS) + ")" + print "-r RUNS Number of runs to execute (default " + str(RUNS) + ")" print "-R REGISTRY Use an alternate (instead of official) Docker registry" print "-L Run container via local Docker daemon (cannot be used with -s)" print "\nExamples" print "--------" print "Run 'lhcb-gen-sim' 10 times in Docker and Singularity, displaying all scores:" - print "reptest -sdv -n 10 /tmp/hwoutput lhcb-gen-sim" + print "reptest -sdv -r 10 /tmp/hwoutput lhcb-gen-sim" print "Run 'atlas-sim-bmk' 5 times in Docker:" - print "reptest -d -n 5 /tmp/hwoutput atlas-sim-bmk" + print "reptest -d -r 5 /tmp/hwoutput atlas-sim-bmk" def procres(rpath, verbose): @@ -145,7 +145,7 @@ def main(): global REGISTRY, RUNS try: - opts, args = getopt.getopt(sys.argv[1:], 'hvdsn:R:L') + opts, args = getopt.getopt(sys.argv[1:], 'hvdsr:R:L') except getopt.GetoptError as err: print "\nError: " + str(err) + "\n" help() @@ -160,7 +160,7 @@ def main(): if opt == '-h': help() sys.exit(0) - elif opt == '-n': + elif opt == '-r': try: RUNS = int(arg) except ValueError: