Browse Source

Allow keeping the CT logs on distclean

This is useful for CI scenarios.
Loïc Hoguin 6 years ago
parent
commit
446a0689ef
1 changed files with 2 additions and 0 deletions
  1. 2 0
      plugins/ct.mk

+ 2 - 0
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" "" \