You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/manpage.rst
+32-3Lines changed: 32 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,8 @@ After all tests in the search path have been loaded, they are first filtered by
62
62
Any test that is not valid for the current system, it will be filtered out.
63
63
The current system is either auto-selected or explicitly specified with the :option:`--system` option.
64
64
Tests can be filtered by different attributes and there are specific command line options for achieving this.
65
-
65
+
A common characteristic of all test filtering options is that if a test is selected, then all its dependencies will be selected, too, regardless if they match the filtering criteria or not.
66
+
This happens recursively so that if test ``T1`` depends on ``T2`` and ``T2`` depends on ``T3``, then selecting ``T1`` would also select ``T2`` and ``T3``.
66
67
67
68
.. option:: -t, --tag=TAG
68
69
@@ -116,6 +117,15 @@ Tests can be filtered by different attributes and there are specific command lin
116
117
Tests may or may not make use of it.
117
118
118
119
120
+
.. option:: --failed
121
+
122
+
Select only the failed test cases for a previous run.
123
+
This option can only be used in combination with the :option:`--restore-session`.
124
+
To rerun the failed cases from the last run, you can use ``reframe --restore-session --failed -r``.
Restore a testing session that has run previously.
328
+
``REPORT`` is a run report file generated by ReFrame.
329
+
If ``REPORT`` is not given, ReFrame will pick the last report file found in the default location of report files (see the :option:`--report-file` option).
330
+
If passed alone, this option will simply rerun all the test cases that have run previously based on the report file data.
331
+
It is more useful to combine this option with any of the `test filtering <#test-filtering>`__ options, in which case only the selected test cases will be executed.
332
+
The difference in test selection process when using this option is that the dependencies of the selected tests will not be selected for execution, as they would normally, but they will be restored.
333
+
For example, if test ``T1`` depends on ``T2`` and ``T2`` depends on ``T3``, then running ``reframe -n T1 -r`` would cause both ``T2`` and ``T3`` to run.
334
+
However, by doing ``reframe -n T1 --restore-session -r``, only ``T1`` would run and its immediate dependence ``T2`` will be restored.
335
+
This is useful when you have deep test dependencies or some of the tests in the dependency chain are very time consuming.
336
+
337
+
.. note::
338
+
In order for a test case to be restored, its stage directory must be present.
339
+
This is not a problem when rerunning a failed case, since the stage directories of its dependencies are automatically kept, but if you want to rerun a successful test case, you should make sure to have run with the :option:`--keep-stage-files` option.
340
+
341
+
.. versionadded:: 3.4
342
+
343
+
315
344
----------------------------------
316
345
Options controlling job submission
317
346
----------------------------------
@@ -463,7 +492,7 @@ Miscellaneous options
463
492
464
493
This option can also be set using the :envvar:`RFM_CONFIG_FILE` environment variable.
465
494
466
-
.. option:: --show-config[=PARAM]
495
+
.. option:: --show-config[PARAM]
467
496
468
497
Show the value of configuration parameter ``PARAM`` as this is defined for the currently selected system and exit.
0 commit comments