aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/Makefile
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-03-14 11:18:46 +0100
committerSiri Hansen <[email protected]>2017-03-20 11:09:24 +0100
commitd7101fd2c2ce8bf609670043585c57010a3707c6 (patch)
tree695b717cfe82bd0729d13a19cb5b923925486f13 /lib/common_test/test/Makefile
parent35e38c97f5f731e3b1689b0740efa305bac9d16e (diff)
downloadotp-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/test/Makefile')
-rw-r--r--lib/common_test/test/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common_test/test/Makefile b/lib/common_test/test/Makefile
index 2f0fc2e05a..b8fb678dbd 100644
--- a/lib/common_test/test/Makefile
+++ b/lib/common_test/test/Makefile
@@ -71,7 +71,8 @@ MODULES= \
test_server_test_lib \
ct_release_test_SUITE \
ct_log_SUITE \
- ct_SUITE
+ ct_SUITE \
+ ct_keep_logs_SUITE
ERL_FILES= $(MODULES:%=%.erl)
HRL_FILES= test_server_test_lib.hrl