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
Normally, if the stage directory of a test exists, ReFrame will remove it and recreate it.
226
226
This option disables this behavior.
227
227
228
+
This option can also be set using the :envvar:`RFM_CLEAN_STAGEDIR` environment variable or the :js:attr:`clean_stagedir` general configuration parameter.
This option can also be set using the :envvar:`RFM_SAVE_LOG_FILES` environment variable or the :js:attr:`save_log_files` general configuration parameter.
237
239
238
240
241
+
.. option:: --report-file=FILE
242
+
243
+
The file where ReFrame will store its report.
244
+
The ``FILE`` argument may contain the special placeholder ``{sessionid}``, in which case ReFrame will generate a new report each time it is run by appending a counter to the report file.
245
+
246
+
This option can also be set using the :envvar:`RFM_REPORT_FILE` environment variable or the :js:attr:`report_file` general configuration parameter.
247
+
248
+
.. versionadded:: 3.1
249
+
250
+
239
251
-------------------------------------
240
252
Options controlling ReFrame execution
241
253
-------------------------------------
@@ -790,6 +802,21 @@ Here is an alphabetical list of the environment variables recognized by ReFrame:
[ OK ] (1/1) HelloTest on generic:default using builtin [compile: 0.735s run: 0.505s total: 1.272s]
110
+
[ OK ] (1/1) HelloTest on generic:default using builtin [compile: 0.378s run: 0.299s total: 0.712s]
111
111
[----------] all spawned checks have finished
112
112
113
113
[ PASSED ] Ran 1 test case(s) from 1 check(s) (0 failure(s))
114
-
[==========] Finished on Sat Jun 20 09:44:53 2020
114
+
[==========] Finished on Fri Jul 24 11:05:47 2020
115
115
116
116
117
117
Perfect! We have verified that we have a functioning C compiler in our system.
@@ -121,7 +121,7 @@ On successful outcome of the test, the stage directory is removed by default, bu
121
121
The prefixes of these directories are printed in the first section of the output.
122
122
Let's inspect what files ReFrame produced for this test:
123
123
124
-
.. code-block:: bash
124
+
.. code-block:: console
125
125
126
126
ls output/generic/default/builtin/HelloTest/
127
127
@@ -133,6 +133,75 @@ Let's inspect what files ReFrame produced for this test:
133
133
ReFrame stores in the output directory of the test the build and run scripts it generated for building and running the code along with their standard output and error.
134
134
All these files are prefixed with ``rfm_``.
135
135
136
+
ReFrame also generates a detailed JSON report for the whole regression testing session.
137
+
By default, this is stored inside the ``${HOME}/.reframe/reports`` directory and a new report file is generated every time ReFrame is run, but you can control this through the :option:`--report-file` command-line option.
138
+
139
+
Here are the contents of the report file for our first ReFrame run:
0 commit comments