From: Taylor Braun-Jones Date: Mon, 23 Mar 2020 21:46:56 +0000 (-0400) Subject: Add documentation for -T option X-Git-Tag: v1.4.5^2~57^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cbc3d37e74c23354b4f10ab3fcf663ed43082cf;p=thirdparty%2Fzstd.git Add documentation for -T option --- diff --git a/tests/fuzzer.c b/tests/fuzzer.c index 3c4aac7a8..1b47a19e2 100644 --- a/tests/fuzzer.c +++ b/tests/fuzzer.c @@ -2833,7 +2833,8 @@ static int FUZ_usage(const char* programName) DISPLAY( " %s [args]\n", programName); DISPLAY( "\n"); DISPLAY( "Arguments :\n"); - DISPLAY( " -i# : Nb of tests (default:%i) \n", nbTestsDefault); + DISPLAY( " -i# : Number of tests (default:%i)\n", nbTestsDefault); + DISPLAY( " -T# : Max duration to run for. Overrides number of tests. (e.g. -T1m or -T60s for one minute)\n"); DISPLAY( " -s# : Select seed (default:prompt user)\n"); DISPLAY( " -t# : Select starting test number (default:0)\n"); DISPLAY( " -P# : Select compressibility in %% (default:%i%%)\n", FUZ_compressibility_default); diff --git a/tests/zstreamtest.c b/tests/zstreamtest.c index 890e66f9e..26a1d1a47 100644 --- a/tests/zstreamtest.c +++ b/tests/zstreamtest.c @@ -2373,7 +2373,8 @@ static int FUZ_usage(const char* programName) DISPLAY( " %s [args]\n", programName); DISPLAY( "\n"); DISPLAY( "Arguments :\n"); - DISPLAY( " -i# : Nb of tests (default:%u) \n", nbTestsDefault); + DISPLAY( " -i# : Number of tests (default:%u)\n", nbTestsDefault); + DISPLAY( " -T# : Max duration to run for. Overrides number of tests. (e.g. -T1m or -T60s for one minute)\n"); DISPLAY( " -s# : Select seed (default:prompt user)\n"); DISPLAY( " -t# : Select starting test number (default:0)\n"); DISPLAY( " -P# : Select compressibility in %% (default:%i%%)\n", FUZ_COMPRESSIBILITY_DEFAULT);