diff options
author | Siri Hansen <[email protected]> | 2017-03-14 11:18:46 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-03-20 11:09:24 +0100 |
commit | d7101fd2c2ce8bf609670043585c57010a3707c6 (patch) | |
tree | 695b717cfe82bd0729d13a19cb5b923925486f13 /lib/common_test/doc/src/ct_run.xml | |
parent | 35e38c97f5f731e3b1689b0740efa305bac9d16e (diff) | |
download | otp-d7101fd2c2ce8bf609670043585c57010a3707c6.tar.gz otp-d7101fd2c2ce8bf609670043585c57010a3707c6.tar.bz2 otp-d7101fd2c2ce8bf609670043585c57010a3707c6.zip |
[ct] Add 'keep_logs' option
If setting the value for this option to an integer, N, common_test
will remove all ct_run.* directories in the current log directory,
except the N newest.
The default value for the 'keep_logs' option is 'all', which means that
no logs will be deleted.
'keep_logs' can be used in combination with refresh_logs, or in a normal
common_test test run.
Diffstat (limited to 'lib/common_test/doc/src/ct_run.xml')
-rw-r--r-- | lib/common_test/doc/src/ct_run.xml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/common_test/doc/src/ct_run.xml b/lib/common_test/doc/src/ct_run.xml index 9e6229f1dd..af30550719 100644 --- a/lib/common_test/doc/src/ct_run.xml +++ b/lib/common_test/doc/src/ct_run.xml @@ -125,6 +125,7 @@ [-until [YYMoMoDD]HHMMSS [-force_stop [skip_rest]]] [-basic_html] [-no_esc_chars] + [-keep_logs all | NLogs] [-ct_hooks CTHModule1 CTHOpts1 and CTHModule2 CTHOpts2 and .. CTHModuleN CTHOptsN] [-exit_status ignore_config] @@ -164,6 +165,7 @@ [-until [YYMoMoDD]HHMMSS [-force_stop [skip_rest]]] [-basic_html] [-no_esc_chars] + [-keep_logs all | NLogs] [-ct_hooks CTHModule1 CTHOpts1 and CTHModule2 CTHOpts2 and .. CTHModuleN CTHOptsN] [-exit_status ignore_config]</pre> @@ -189,13 +191,15 @@ [-scale_timetraps] [-create_priv_dir auto_per_run | auto_per_tc | manual_per_tc] [-basic_html] - [-no_esc_chars]</pre> + [-no_esc_chars] + [-keep_logs all | NLogs]</pre> </section> <section> <title>Refresh HTML Index Files</title> <pre> - ct_run -refresh_logs [-logdir LogDir] [-basic_html]</pre> + ct_run -refresh_logs [-logdir LogDir] [-basic_html] + [-keep_logs all | NLogs]</pre> </section> <section> |