From 1ef38a95d27d51366ca291c332af9f35782896bf Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 5 May 2017 08:12:24 +0200 Subject: [PATCH] runtests: use -R for random order Suggested-by: Dan Fandrich --- tests/runtests.1 | 4 ++-- tests/runtests.pl | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/runtests.1 b/tests/runtests.1 index 02540c84b..18ddce483 100644 --- a/tests/runtests.1 +++ b/tests/runtests.1 @@ -71,13 +71,13 @@ detected. Useful for debugging. Lists all test case names. .IP "-n" Disable the check for and use of valgrind. -.IP "-o" -Run the tests in a scrambled, or randomized, order instead of sequentially. .IP "-p" Prints out all files in "log/" to stdout when a test case fails. Very practical when used in the automated and distributed tests since then the people checking the failures and the reasons for them might not have physical access to the machine and logs. +.IP "-R" +Run the tests in a scrambled, or randomized, order instead of sequentially. .IP "-r" Display run time statistics. (Requires Perl Time::HiRes module) .IP "-rf" diff --git a/tests/runtests.pl b/tests/runtests.pl index d3e4fbbcc..68ff3933e 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -6,7 +6,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2016, Daniel Stenberg, , et al. +# Copyright (C) 1998 - 2017, Daniel Stenberg, , et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -4896,7 +4896,7 @@ while(@ARGV) { # no valgrind undef $valgrind; } - elsif ($ARGV[0] eq "-o") { + elsif ($ARGV[0] eq "-R") { # execute in scrambled order $scrambleorder=1; } @@ -4969,8 +4969,8 @@ Usage: runtests.pl [options] [test selection(s)] -k keep stdout and stderr files present after tests -l list all test case names/descriptions -n no valgrind - -o scrambled order -p print log file contents when a test fails + -R scrambled order -r run time statistics -rf full run time statistics -s short output