Document need to use same subset if --rerun-failed

When running the tests with ctest, --rerun-failed can be used to run
the tests that failed on the previous run. However, the same subset
must be specified because it is the test numbers that are used to
index which tests failed on the previous run. For example, it would
be incorrect to do the following:

  ctest -R export
  ctest --rerun-failed

The following is correct:

  ctest -R export
  ctest -R export --rerun-failed
This commit is contained in:
Scott Kostyshak 2016-01-31 15:06:23 -05:00
parent b0370857b4
commit d5694318ef

View File

@ -2062,7 +2062,6 @@ We are still working on getting the tests to run in parallel.
pass when run sequentially.
A reasonable approach is to first run the tests in parallel and then run
the failed tests sequentially.
\end_layout
\begin_layout Standard
@ -2097,6 +2096,35 @@ rerun-failed
\end_layout
\begin_layout Standard
When specifying a subset of the tests (e.g.
using
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\SpecialChar nobreakdash
R <pattern>
\end_layout
\end_inset
), the same subset must be specified when using the
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\SpecialChar nobreakdash
\SpecialChar nobreakdash
rerun-failed
\end_layout
\end_inset
option because it is the test numbers that are used to index which tests
failed on the previous run.
\end_layout
\begin_layout Standard
\noindent
Note that some tests cannot be run in parallel.