aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/ct.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-23 14:57:03 +0100
committerLoïc Hoguin <[email protected]>2018-11-23 14:57:03 +0100
commit446a0689ef41e59fc7482ca62131fca5d355c80e (patch)
tree800c73fdc75e1ef8aaf268f4e0ca79e0b878bbfd /plugins/ct.mk
parent0c8904031e8a4c68671011ddd8d3bb67e4578e55 (diff)
downloaderlang.mk-446a0689ef41e59fc7482ca62131fca5d355c80e.tar.gz
erlang.mk-446a0689ef41e59fc7482ca62131fca5d355c80e.tar.bz2
erlang.mk-446a0689ef41e59fc7482ca62131fca5d355c80e.zip
Allow keeping the CT logs on distclean
This is useful for CI scenarios.
Diffstat (limited to 'plugins/ct.mk')
-rw-r--r--plugins/ct.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/ct.mk b/plugins/ct.mk
index ef649e3..63f61fa 100644
--- a/plugins/ct.mk
+++ b/plugins/ct.mk
@@ -19,7 +19,9 @@ CT_LOGS_DIR ?= $(CURDIR)/logs
tests:: ct
+ifndef KEEP_LOGS
distclean:: distclean-ct
+endif
help::
$(verbose) printf "%s\n" "" \