From d1f9b9393ad2ab22d623cc2b76c443e59832187c Mon Sep 17 00:00:00 2001 From: "Bryan W. Weber" Date: Wed, 8 Nov 2017 09:27:25 -0500 Subject: [PATCH] Remove testing related files if test-clean is specified --- SConstruct | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SConstruct b/SConstruct index 993199479..6f2ee4077 100644 --- a/SConstruct +++ b/SConstruct @@ -109,6 +109,10 @@ if 'clean' in COMMAND_LINE_TARGETS: else: Alias('clean', []) +if 'test-clean' in COMMAND_LINE_TARGETS: + removeDirectory('build/test') + removeDirectory('test/work') + # ****************************************************** # *** Set system-dependent defaults for some options *** # ******************************************************