mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
runtests: use -R for random order
Suggested-by: Dan Fandrich
This commit is contained in:
parent
067b8f2304
commit
1ef38a95d2
@ -71,13 +71,13 @@ detected. Useful for debugging.
|
|||||||
Lists all test case names.
|
Lists all test case names.
|
||||||
.IP "-n"
|
.IP "-n"
|
||||||
Disable the check for and use of valgrind.
|
Disable the check for and use of valgrind.
|
||||||
.IP "-o"
|
|
||||||
Run the tests in a scrambled, or randomized, order instead of sequentially.
|
|
||||||
.IP "-p"
|
.IP "-p"
|
||||||
Prints out all files in "log/" to stdout when a test case fails. Very
|
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
|
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
|
people checking the failures and the reasons for them might not have physical
|
||||||
access to the machine and logs.
|
access to the machine and logs.
|
||||||
|
.IP "-R"
|
||||||
|
Run the tests in a scrambled, or randomized, order instead of sequentially.
|
||||||
.IP "-r"
|
.IP "-r"
|
||||||
Display run time statistics. (Requires Perl Time::HiRes module)
|
Display run time statistics. (Requires Perl Time::HiRes module)
|
||||||
.IP "-rf"
|
.IP "-rf"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# | (__| |_| | _ <| |___
|
# | (__| |_| | _ <| |___
|
||||||
# \___|\___/|_| \_\_____|
|
# \___|\___/|_| \_\_____|
|
||||||
#
|
#
|
||||||
# Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
|
# Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
@ -4896,7 +4896,7 @@ while(@ARGV) {
|
|||||||
# no valgrind
|
# no valgrind
|
||||||
undef $valgrind;
|
undef $valgrind;
|
||||||
}
|
}
|
||||||
elsif ($ARGV[0] eq "-o") {
|
elsif ($ARGV[0] eq "-R") {
|
||||||
# execute in scrambled order
|
# execute in scrambled order
|
||||||
$scrambleorder=1;
|
$scrambleorder=1;
|
||||||
}
|
}
|
||||||
@ -4969,8 +4969,8 @@ Usage: runtests.pl [options] [test selection(s)]
|
|||||||
-k keep stdout and stderr files present after tests
|
-k keep stdout and stderr files present after tests
|
||||||
-l list all test case names/descriptions
|
-l list all test case names/descriptions
|
||||||
-n no valgrind
|
-n no valgrind
|
||||||
-o scrambled order
|
|
||||||
-p print log file contents when a test fails
|
-p print log file contents when a test fails
|
||||||
|
-R scrambled order
|
||||||
-r run time statistics
|
-r run time statistics
|
||||||
-rf full run time statistics
|
-rf full run time statistics
|
||||||
-s short output
|
-s short output
|
||||||
|
Loading…
Reference in New Issue
Block a user