This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  ab5aa681784f35ea9177a7242d4c92354e0110c5 (commit)
       via  c82b25a69a79e7affae4c350ff7a3ae6e5672e00 (commit)
      from  e0c3ddaa028b3fefa03e38e407b91b2679839fe8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ab5aa681784f35ea9177a7242d4c92354e0110c5
commit ab5aa681784f35ea9177a7242d4c92354e0110c5
Merge: e0c3dda c82b25a
Author:     Bill Hoffman <bill.hoff...@kitware.com>
AuthorDate: Wed Mar 11 18:57:07 2015 -0400
Commit:     CMake Topic Stage <kwro...@kitware.com>
CommitDate: Wed Mar 11 18:57:07 2015 -0400

    Merge topic 'add_repeat_testing' into next
    
    c82b25a6 Fix up documentation.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c82b25a69a79e7affae4c350ff7a3ae6e5672e00
commit c82b25a69a79e7affae4c350ff7a3ae6e5672e00
Author:     Bill Hoffman <bill.hoff...@kitware.com>
AuthorDate: Wed Mar 11 18:55:37 2015 -0400
Commit:     Bill Hoffman <bill.hoff...@kitware.com>
CommitDate: Wed Mar 11 18:55:37 2015 -0400

    Fix up documentation.

diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst
index cc132c2..99d33e7 100644
--- a/Help/manual/ctest.1.rst
+++ b/Help/manual/ctest.1.rst
@@ -194,6 +194,12 @@ Options
  subsequent calls to ctest with the --rerun-failed option will run
  the set of tests that most recently failed (if any).
 
+``--repeat-until-fail N``
+ Run each test N times until N runs or a test fails.
+
+ This option allows you to run each test multiple times until a test failes.
+ This is useful in finding random failures in test cases.
+
 ``--max-width <width>``
  Set the max width for a test name to output
 
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index 351b644..069c45e 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -49,9 +49,6 @@ static const char * cmDocumentationOptions[][2] =
   {"-F", "Enable failover."},
   {"-j <jobs>, --parallel <jobs>", "Run the tests in parallel using the "
    "given number of jobs."},
-  {"--repeat-until-fail <tries>", "Run each test <tries> times "
-   "unless the test fails at that point stop repeating. Useful for finding"
-   " random failuers."},
   {"-Q,--quiet", "Make ctest quiet."},
   {"-O <file>, --output-log <file>", "Output to log file"},
   {"-N,--show-only", "Disable actual execution of tests."},
@@ -78,6 +75,8 @@ static const char * cmDocumentationOptions[][2] =
    "Run a specific number of tests by number."},
   {"-U, --union", "Take the Union of -I and -R"},
   {"--rerun-failed", "Run only the tests that failed previously"},
+  {"--repeat-until-fail N", "Run each test N times"
+   " until the test runs N times or the test fails."},
   {"--max-width <width>", "Set the max width for a test name to output"},
   {"--interactive-debug-mode [0|1]", "Set the interactive mode to 0 or 1."},
   {"--no-label-summary", "Disable timing summary information for labels."},

-----------------------------------------------------------------------

Summary of changes:
 Help/manual/ctest.1.rst |    6 ++++++
 Source/ctest.cxx        |    5 ++---
 2 files changed, 8 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits

Reply via email to