[Cmake-commits] CMake branch, master, updated. v3.16.0-rc4-380-g9e9787f19a
Kitware Robot
kwrobot at kitware.com
Tue Nov 19 15:53:11 EST 2019
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, master has been updated
via 9e9787f19a69ed6e0482d29a508548b048dd025d (commit)
via 32c165d2636a65362265d20a16e1f914a53882dd (commit)
from 3520208cbd0ebf9f3db1a9711b49286462cd7e54 (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 -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9e9787f19a69ed6e0482d29a508548b048dd025d
commit 9e9787f19a69ed6e0482d29a508548b048dd025d
Merge: 3520208cbd 32c165d263
Author: Craig Scott <craig.scott at crascit.com>
AuthorDate: Tue Nov 19 20:48:25 2019 +0000
Commit: Kitware Robot <kwrobot at kitware.com>
CommitDate: Tue Nov 19 15:48:38 2019 -0500
Merge topic 'ctest-repeat'
32c165d263 CTest: Consolidate '--repeat-* n' options as `--repeat *:n`
Acked-by: Kitware Robot <kwrobot at kitware.com>
Merge-request: !4053
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=32c165d2636a65362265d20a16e1f914a53882dd
commit 32c165d2636a65362265d20a16e1f914a53882dd
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri Nov 15 09:28:37 2019 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Fri Nov 15 10:08:33 2019 -0500
CTest: Consolidate '--repeat-* n' options as `--repeat *:n`
Combine `--repeat-until-fail`, `--repeat-until-pass`, and
`--repeat-after-timeout` to create a single `--repeat <mode>:<n>`
option. Retain `--repeat-until-fail` too because that has been
available in previous releases.
diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst
index 328f5794c4..2a6cb48b2c 100644
--- a/Help/manual/ctest.1.rst
+++ b/Help/manual/ctest.1.rst
@@ -261,23 +261,27 @@ Options
fail, 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>``
- Require each test to run ``<n>`` times without failing in order to pass.
-
- This is useful in finding sporadic failures in test cases.
+``--repeat <mode>:<n>``
+ Run tests repeatedly based on the given ``<mode>`` up to ``<n>`` times.
+ The modes are:
-``--repeat-until-pass <n>``
- Allow each test to run up to ``<n>`` times in order to pass.
- Repeats tests if they fail for any reason.
+ ``until-fail``
+ Require each test to run ``<n>`` times without failing in order to pass.
+ This is useful in finding sporadic failures in test cases.
- This is useful in tolerating sporadic failures in test cases.
+ ``until-pass``
+ Allow each test to run up to ``<n>`` times in order to pass.
+ Repeats tests if they fail for any reason.
+ This is useful in tolerating sporadic failures in test cases.
-``--repeat-after-timeout <n>``
- Allow each test to run up to ``<n>`` times in order to pass.
- Repeats tests only if they timeout.
+ ``after-timeout``
+ Allow each test to run up to ``<n>`` times in order to pass.
+ Repeats tests only if they timeout.
+ This is useful in tolerating sporadic timeouts in test cases
+ on busy machines.
- This is useful in tolerating sporadic timeouts in test cases
- on busy machines.
+``--repeat-until-fail <n>``
+ Equivalent to ``--repeat until-fail:<n>``.
``--max-width <width>``
Set the max width for a test name to output.
diff --git a/Help/release/dev/ctest-repeat-until-pass.rst b/Help/release/dev/ctest-repeat-until-pass.rst
deleted file mode 100644
index b5f6c26281..0000000000
--- a/Help/release/dev/ctest-repeat-until-pass.rst
+++ /dev/null
@@ -1,9 +0,0 @@
-ctest-repeat-until-pass
------------------------
-
-* The :manual:`ctest(1)` tool learned new ``--repeat-until-pass <n>``
- and ``--repeat-after-timeout <n>`` options to help tolerate sporadic
- test failures.
-
-* The :command:`ctest_test` command gained a ``REPEAT <mode>:<n>`` option
- to specify conditions in which to repeat tests.
diff --git a/Help/release/dev/ctest-repeat.rst b/Help/release/dev/ctest-repeat.rst
new file mode 100644
index 0000000000..b1ff59bfdc
--- /dev/null
+++ b/Help/release/dev/ctest-repeat.rst
@@ -0,0 +1,10 @@
+ctest-repeat
+------------
+
+* The :manual:`ctest(1)` tool gained a ``--repeat <mode>:<n>`` option
+ to specify conditions in which to repeat tests. This generalizes
+ the existing ``--repeat-until-fail <n>`` option to add modes for
+ ``until-pass`` and ``after-timeout``.
+
+* The :command:`ctest_test` command gained a ``REPEAT <mode>:<n>`` option
+ to specify conditions in which to repeat tests.
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index a49866ce98..76a2bba85c 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -21,6 +21,7 @@
#include "cmsys/FStream.hxx"
#include "cmsys/Glob.hxx"
#include "cmsys/Process.h"
+#include "cmsys/RegularExpression.hxx"
#include "cmsys/SystemInformation.hxx"
#include "cm_curl.h"
@@ -1846,7 +1847,7 @@ bool cmCTest::HandleCommandLineArguments(size_t& i,
return false;
}
if (this->Impl->RepeatMode != cmCTest::Repeat::Never) {
- errormsg = "At most one '--repeat-*' option may be used.";
+ errormsg = "At most one '--repeat' option may be used.";
return false;
}
i++;
@@ -1862,48 +1863,37 @@ bool cmCTest::HandleCommandLineArguments(size_t& i,
}
}
- if (this->CheckArgument(arg, "--repeat-until-pass")) {
+ if (this->CheckArgument(arg, "--repeat")) {
if (i >= args.size() - 1) {
- errormsg = "'--repeat-until-pass' requires an argument";
+ errormsg = "'--repeat' requires an argument";
return false;
}
if (this->Impl->RepeatMode != cmCTest::Repeat::Never) {
- errormsg = "At most one '--repeat-*' option may be used.";
+ errormsg = "At most one '--repeat' option may be used.";
return false;
}
i++;
- long repeat = 1;
- if (!cmStrToLong(args[i], &repeat)) {
- errormsg =
- "'--repeat-until-pass' given non-integer value '" + args[i] + "'";
- return false;
- }
- this->Impl->RepeatCount = static_cast<int>(repeat);
- if (repeat > 1) {
- this->Impl->RepeatMode = cmCTest::Repeat::UntilPass;
- }
- }
-
- if (this->CheckArgument(arg, "--repeat-after-timeout")) {
- if (i >= args.size() - 1) {
- errormsg = "'--repeat-after-timeout' requires an argument";
- return false;
- }
- if (this->Impl->RepeatMode != cmCTest::Repeat::Never) {
- errormsg = "At most one '--repeat-*' option may be used.";
- return false;
- }
- i++;
- long repeat = 1;
- if (!cmStrToLong(args[i], &repeat)) {
- errormsg =
- "'--repeat-after-timeout' given non-integer value '" + args[i] + "'";
+ cmsys::RegularExpression repeatRegex(
+ "^(until-fail|until-pass|after-timeout):([0-9]+)$");
+ if (repeatRegex.find(args[i])) {
+ std::string const& count = repeatRegex.match(2);
+ unsigned long n = 1;
+ cmStrToULong(count, &n); // regex guarantees success
+ this->Impl->RepeatCount = static_cast<int>(n);
+ if (this->Impl->RepeatCount > 1) {
+ std::string const& mode = repeatRegex.match(1);
+ if (mode == "until-fail") {
+ this->Impl->RepeatMode = cmCTest::Repeat::UntilFail;
+ } else if (mode == "until-pass") {
+ this->Impl->RepeatMode = cmCTest::Repeat::UntilPass;
+ } else if (mode == "after-timeout") {
+ this->Impl->RepeatMode = cmCTest::Repeat::AfterTimeout;
+ }
+ }
+ } else {
+ errormsg = "'--repeat' given invalid value '" + args[i] + "'";
return false;
}
- this->Impl->RepeatCount = static_cast<int>(repeat);
- if (repeat > 1) {
- this->Impl->RepeatMode = cmCTest::Repeat::AfterTimeout;
- }
}
if (this->CheckArgument(arg, "--test-load") && i < args.size() - 1) {
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index a7b11cd944..1f25492230 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -98,11 +98,11 @@ 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>",
+ { "--repeat until-fail:<n>, --repeat-until-fail <n>",
"Require each test to run <n> times without failing in order to pass" },
- { "--repeat-until-pass <n>",
+ { "--repeat until-pass:<n>",
"Allow each test to run up to <n> times in order to pass" },
- { "--repeat-after-timeout <n>",
+ { "--repeat after-timeout:<n>",
"Allow each test to run up to <n> times if it times out" },
{ "--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." },
diff --git a/Tests/RunCMake/CTestCommandLine/RunCMakeTest.cmake b/Tests/RunCMake/CTestCommandLine/RunCMakeTest.cmake
index 6a7fd3b55c..0953504ead 100644
--- a/Tests/RunCMake/CTestCommandLine/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CTestCommandLine/RunCMakeTest.cmake
@@ -4,14 +4,26 @@ set(RunCMake_TEST_TIMEOUT 60)
unset(ENV{CTEST_PARALLEL_LEVEL})
unset(ENV{CTEST_OUTPUT_ON_FAILURE})
-run_cmake_command(repeat-until-pass-bad1
- ${CMAKE_CTEST_COMMAND} --repeat-until-pass
+run_cmake_command(repeat-opt-bad1
+ ${CMAKE_CTEST_COMMAND} --repeat until-pass
)
-run_cmake_command(repeat-until-pass-bad2
- ${CMAKE_CTEST_COMMAND} --repeat-until-pass foo
+run_cmake_command(repeat-opt-bad2
+ ${CMAKE_CTEST_COMMAND} --repeat until-pass:foo
)
-run_cmake_command(repeat-until-pass-good
- ${CMAKE_CTEST_COMMAND} --repeat-until-pass 2
+run_cmake_command(repeat-opt-bad3
+ ${CMAKE_CTEST_COMMAND} --repeat until-fail:2 --repeat-until-fail 2
+ )
+run_cmake_command(repeat-opt-bad4
+ ${CMAKE_CTEST_COMMAND} --repeat-until-fail 2 --repeat until-fail:2
+ )
+run_cmake_command(repeat-opt-until-pass
+ ${CMAKE_CTEST_COMMAND} --repeat until-pass:2
+ )
+run_cmake_command(repeat-opt-until-fail
+ ${CMAKE_CTEST_COMMAND} --repeat until-fail:2
+ )
+run_cmake_command(repeat-opt-after-timeout
+ ${CMAKE_CTEST_COMMAND} --repeat after-timeout:2
)
run_cmake_command(repeat-until-fail-bad1
@@ -24,33 +36,13 @@ run_cmake_command(repeat-until-fail-good
${CMAKE_CTEST_COMMAND} --repeat-until-fail 2
)
-run_cmake_command(repeat-after-timeout-bad1
- ${CMAKE_CTEST_COMMAND} --repeat-after-timeout
- )
-run_cmake_command(repeat-after-timeout-bad2
- ${CMAKE_CTEST_COMMAND} --repeat-after-timeout foo
- )
-run_cmake_command(repeat-after-timeout-good
- ${CMAKE_CTEST_COMMAND} --repeat-after-timeout 2
- )
-
-run_cmake_command(repeat-until-pass-and-fail
- ${CMAKE_CTEST_COMMAND} --repeat-until-pass 2 --repeat-until-fail 2
- )
-run_cmake_command(repeat-until-fail-and-pass
- ${CMAKE_CTEST_COMMAND} --repeat-until-fail 2 --repeat-until-pass 2
- )
-run_cmake_command(repeat-until-fail-and-timeout
- ${CMAKE_CTEST_COMMAND} --repeat-until-fail 2 --repeat-after-timeout 2
- )
-
function(run_repeat_until_pass_tests)
# Use a single build tree for a few tests without cleaning.
set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/repeat-until-pass-build)
run_cmake(repeat-until-pass-cmake)
set(RunCMake_TEST_NO_CLEAN 1)
run_cmake_command(repeat-until-pass-ctest
- ${CMAKE_CTEST_COMMAND} -C Debug --repeat-until-pass 3
+ ${CMAKE_CTEST_COMMAND} -C Debug --repeat until-pass:3
)
endfunction()
run_repeat_until_pass_tests()
@@ -61,7 +53,7 @@ function(run_repeat_after_timeout_tests)
run_cmake(repeat-after-timeout-cmake)
set(RunCMake_TEST_NO_CLEAN 1)
run_cmake_command(repeat-after-timeout-ctest
- ${CMAKE_CTEST_COMMAND} -C Debug --repeat-after-timeout 3
+ ${CMAKE_CTEST_COMMAND} -C Debug --repeat after-timeout:3
)
endfunction()
run_repeat_after_timeout_tests()
@@ -72,10 +64,11 @@ function(run_repeat_until_fail_tests)
run_cmake(repeat-until-fail-cmake)
set(RunCMake_TEST_NO_CLEAN 1)
run_cmake_command(repeat-until-fail-ctest
- ${CMAKE_CTEST_COMMAND} -C Debug --repeat-until-fail 3
+ ${CMAKE_CTEST_COMMAND} -C Debug ${ARGN}
)
endfunction()
-run_repeat_until_fail_tests()
+run_repeat_until_fail_tests(--repeat-until-fail 3)
+run_repeat_until_fail_tests(--repeat until-fail:3)
function(run_BadCTestTestfile)
set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/BadCTestTestfile)
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-after-timeout-bad1-stderr.txt b/Tests/RunCMake/CTestCommandLine/repeat-after-timeout-bad1-stderr.txt
deleted file mode 100644
index aea92b8bb0..0000000000
--- a/Tests/RunCMake/CTestCommandLine/repeat-after-timeout-bad1-stderr.txt
+++ /dev/null
@@ -1 +0,0 @@
-^CMake Error: '--repeat-after-timeout' requires an argument$
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-after-timeout-bad2-stderr.txt b/Tests/RunCMake/CTestCommandLine/repeat-after-timeout-bad2-stderr.txt
deleted file mode 100644
index c5db55b65b..0000000000
--- a/Tests/RunCMake/CTestCommandLine/repeat-after-timeout-bad2-stderr.txt
+++ /dev/null
@@ -1 +0,0 @@
-^CMake Error: '--repeat-after-timeout' given non-integer value 'foo'$
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-after-timeout-good-stderr.txt b/Tests/RunCMake/CTestCommandLine/repeat-opt-after-timeout-stderr.txt
similarity index 100%
copy from Tests/RunCMake/CTestCommandLine/repeat-after-timeout-good-stderr.txt
copy to Tests/RunCMake/CTestCommandLine/repeat-opt-after-timeout-stderr.txt
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-after-timeout-bad1-result.txt b/Tests/RunCMake/CTestCommandLine/repeat-opt-bad1-result.txt
similarity index 100%
rename from Tests/RunCMake/CTestCommandLine/repeat-after-timeout-bad1-result.txt
rename to Tests/RunCMake/CTestCommandLine/repeat-opt-bad1-result.txt
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-opt-bad1-stderr.txt b/Tests/RunCMake/CTestCommandLine/repeat-opt-bad1-stderr.txt
new file mode 100644
index 0000000000..f6f32416ea
--- /dev/null
+++ b/Tests/RunCMake/CTestCommandLine/repeat-opt-bad1-stderr.txt
@@ -0,0 +1 @@
+^CMake Error: '--repeat' given invalid value 'until-pass'$
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-after-timeout-bad2-result.txt b/Tests/RunCMake/CTestCommandLine/repeat-opt-bad2-result.txt
similarity index 100%
rename from Tests/RunCMake/CTestCommandLine/repeat-after-timeout-bad2-result.txt
rename to Tests/RunCMake/CTestCommandLine/repeat-opt-bad2-result.txt
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-opt-bad2-stderr.txt b/Tests/RunCMake/CTestCommandLine/repeat-opt-bad2-stderr.txt
new file mode 100644
index 0000000000..2f9f32aef6
--- /dev/null
+++ b/Tests/RunCMake/CTestCommandLine/repeat-opt-bad2-stderr.txt
@@ -0,0 +1 @@
+^CMake Error: '--repeat' given invalid value 'until-pass:foo'$
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-until-fail-and-pass-result.txt b/Tests/RunCMake/CTestCommandLine/repeat-opt-bad3-result.txt
similarity index 100%
rename from Tests/RunCMake/CTestCommandLine/repeat-until-fail-and-pass-result.txt
rename to Tests/RunCMake/CTestCommandLine/repeat-opt-bad3-result.txt
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-opt-bad3-stderr.txt b/Tests/RunCMake/CTestCommandLine/repeat-opt-bad3-stderr.txt
new file mode 100644
index 0000000000..de4e11bd4a
--- /dev/null
+++ b/Tests/RunCMake/CTestCommandLine/repeat-opt-bad3-stderr.txt
@@ -0,0 +1 @@
+^CMake Error: At most one '--repeat' option may be used\.$
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-until-fail-and-timeout-result.txt b/Tests/RunCMake/CTestCommandLine/repeat-opt-bad4-result.txt
similarity index 100%
rename from Tests/RunCMake/CTestCommandLine/repeat-until-fail-and-timeout-result.txt
rename to Tests/RunCMake/CTestCommandLine/repeat-opt-bad4-result.txt
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-opt-bad4-stderr.txt b/Tests/RunCMake/CTestCommandLine/repeat-opt-bad4-stderr.txt
new file mode 100644
index 0000000000..de4e11bd4a
--- /dev/null
+++ b/Tests/RunCMake/CTestCommandLine/repeat-opt-bad4-stderr.txt
@@ -0,0 +1 @@
+^CMake Error: At most one '--repeat' option may be used\.$
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-until-pass-good-stderr.txt b/Tests/RunCMake/CTestCommandLine/repeat-opt-until-fail-stderr.txt
similarity index 100%
rename from Tests/RunCMake/CTestCommandLine/repeat-until-pass-good-stderr.txt
rename to Tests/RunCMake/CTestCommandLine/repeat-opt-until-fail-stderr.txt
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-after-timeout-good-stderr.txt b/Tests/RunCMake/CTestCommandLine/repeat-opt-until-pass-stderr.txt
similarity index 100%
rename from Tests/RunCMake/CTestCommandLine/repeat-after-timeout-good-stderr.txt
rename to Tests/RunCMake/CTestCommandLine/repeat-opt-until-pass-stderr.txt
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-until-fail-and-pass-stderr.txt b/Tests/RunCMake/CTestCommandLine/repeat-until-fail-and-pass-stderr.txt
deleted file mode 100644
index 15ee3a98ea..0000000000
--- a/Tests/RunCMake/CTestCommandLine/repeat-until-fail-and-pass-stderr.txt
+++ /dev/null
@@ -1 +0,0 @@
-^CMake Error: At most one '--repeat-\*' option may be used\.$
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-until-fail-and-timeout-stderr.txt b/Tests/RunCMake/CTestCommandLine/repeat-until-fail-and-timeout-stderr.txt
deleted file mode 100644
index 15ee3a98ea..0000000000
--- a/Tests/RunCMake/CTestCommandLine/repeat-until-fail-and-timeout-stderr.txt
+++ /dev/null
@@ -1 +0,0 @@
-^CMake Error: At most one '--repeat-\*' option may be used\.$
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-until-pass-and-fail-result.txt b/Tests/RunCMake/CTestCommandLine/repeat-until-pass-and-fail-result.txt
deleted file mode 100644
index d00491fd7e..0000000000
--- a/Tests/RunCMake/CTestCommandLine/repeat-until-pass-and-fail-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-until-pass-and-fail-stderr.txt b/Tests/RunCMake/CTestCommandLine/repeat-until-pass-and-fail-stderr.txt
deleted file mode 100644
index 15ee3a98ea..0000000000
--- a/Tests/RunCMake/CTestCommandLine/repeat-until-pass-and-fail-stderr.txt
+++ /dev/null
@@ -1 +0,0 @@
-^CMake Error: At most one '--repeat-\*' option may be used\.$
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-until-pass-bad1-result.txt b/Tests/RunCMake/CTestCommandLine/repeat-until-pass-bad1-result.txt
deleted file mode 100644
index d00491fd7e..0000000000
--- a/Tests/RunCMake/CTestCommandLine/repeat-until-pass-bad1-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-until-pass-bad1-stderr.txt b/Tests/RunCMake/CTestCommandLine/repeat-until-pass-bad1-stderr.txt
deleted file mode 100644
index c6afb1d9cf..0000000000
--- a/Tests/RunCMake/CTestCommandLine/repeat-until-pass-bad1-stderr.txt
+++ /dev/null
@@ -1 +0,0 @@
-^CMake Error: '--repeat-until-pass' requires an argument$
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-until-pass-bad2-result.txt b/Tests/RunCMake/CTestCommandLine/repeat-until-pass-bad2-result.txt
deleted file mode 100644
index d00491fd7e..0000000000
--- a/Tests/RunCMake/CTestCommandLine/repeat-until-pass-bad2-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-until-pass-bad2-stderr.txt b/Tests/RunCMake/CTestCommandLine/repeat-until-pass-bad2-stderr.txt
deleted file mode 100644
index cc3aed5330..0000000000
--- a/Tests/RunCMake/CTestCommandLine/repeat-until-pass-bad2-stderr.txt
+++ /dev/null
@@ -1 +0,0 @@
-^CMake Error: '--repeat-until-pass' given non-integer value 'foo'$
-----------------------------------------------------------------------
Summary of changes:
Help/manual/ctest.1.rst | 30 ++++++-----
Help/release/dev/ctest-repeat-until-pass.rst | 9 ----
Help/release/dev/ctest-repeat.rst | 10 ++++
Source/cmCTest.cxx | 58 +++++++++-------------
Source/ctest.cxx | 6 +--
Tests/RunCMake/CTestCommandLine/RunCMakeTest.cmake | 53 +++++++++-----------
.../repeat-after-timeout-bad1-stderr.txt | 1 -
.../repeat-after-timeout-bad2-stderr.txt | 1 -
...err.txt => repeat-opt-after-timeout-stderr.txt} | 0
...-bad1-result.txt => repeat-opt-bad1-result.txt} | 0
.../CTestCommandLine/repeat-opt-bad1-stderr.txt | 1 +
...-bad2-result.txt => repeat-opt-bad2-result.txt} | 0
.../CTestCommandLine/repeat-opt-bad2-stderr.txt | 1 +
...-pass-result.txt => repeat-opt-bad3-result.txt} | 0
.../CTestCommandLine/repeat-opt-bad3-stderr.txt | 1 +
...meout-result.txt => repeat-opt-bad4-result.txt} | 0
.../CTestCommandLine/repeat-opt-bad4-stderr.txt | 1 +
...stderr.txt => repeat-opt-until-fail-stderr.txt} | 0
...stderr.txt => repeat-opt-until-pass-stderr.txt} | 0
.../repeat-until-fail-and-pass-stderr.txt | 1 -
.../repeat-until-fail-and-timeout-stderr.txt | 1 -
.../repeat-until-pass-and-fail-result.txt | 1 -
.../repeat-until-pass-and-fail-stderr.txt | 1 -
.../repeat-until-pass-bad1-result.txt | 1 -
.../repeat-until-pass-bad1-stderr.txt | 1 -
.../repeat-until-pass-bad2-result.txt | 1 -
.../repeat-until-pass-bad2-stderr.txt | 1 -
27 files changed, 81 insertions(+), 99 deletions(-)
delete mode 100644 Help/release/dev/ctest-repeat-until-pass.rst
create mode 100644 Help/release/dev/ctest-repeat.rst
delete mode 100644 Tests/RunCMake/CTestCommandLine/repeat-after-timeout-bad1-stderr.txt
delete mode 100644 Tests/RunCMake/CTestCommandLine/repeat-after-timeout-bad2-stderr.txt
copy Tests/RunCMake/CTestCommandLine/{repeat-after-timeout-good-stderr.txt => repeat-opt-after-timeout-stderr.txt} (100%)
rename Tests/RunCMake/CTestCommandLine/{repeat-after-timeout-bad1-result.txt => repeat-opt-bad1-result.txt} (100%)
create mode 100644 Tests/RunCMake/CTestCommandLine/repeat-opt-bad1-stderr.txt
rename Tests/RunCMake/CTestCommandLine/{repeat-after-timeout-bad2-result.txt => repeat-opt-bad2-result.txt} (100%)
create mode 100644 Tests/RunCMake/CTestCommandLine/repeat-opt-bad2-stderr.txt
rename Tests/RunCMake/CTestCommandLine/{repeat-until-fail-and-pass-result.txt => repeat-opt-bad3-result.txt} (100%)
create mode 100644 Tests/RunCMake/CTestCommandLine/repeat-opt-bad3-stderr.txt
rename Tests/RunCMake/CTestCommandLine/{repeat-until-fail-and-timeout-result.txt => repeat-opt-bad4-result.txt} (100%)
create mode 100644 Tests/RunCMake/CTestCommandLine/repeat-opt-bad4-stderr.txt
rename Tests/RunCMake/CTestCommandLine/{repeat-until-pass-good-stderr.txt => repeat-opt-until-fail-stderr.txt} (100%)
rename Tests/RunCMake/CTestCommandLine/{repeat-after-timeout-good-stderr.txt => repeat-opt-until-pass-stderr.txt} (100%)
delete mode 100644 Tests/RunCMake/CTestCommandLine/repeat-until-fail-and-pass-stderr.txt
delete mode 100644 Tests/RunCMake/CTestCommandLine/repeat-until-fail-and-timeout-stderr.txt
delete mode 100644 Tests/RunCMake/CTestCommandLine/repeat-until-pass-and-fail-result.txt
delete mode 100644 Tests/RunCMake/CTestCommandLine/repeat-until-pass-and-fail-stderr.txt
delete mode 100644 Tests/RunCMake/CTestCommandLine/repeat-until-pass-bad1-result.txt
delete mode 100644 Tests/RunCMake/CTestCommandLine/repeat-until-pass-bad1-stderr.txt
delete mode 100644 Tests/RunCMake/CTestCommandLine/repeat-until-pass-bad2-result.txt
delete mode 100644 Tests/RunCMake/CTestCommandLine/repeat-until-pass-bad2-stderr.txt
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list