diff options
author | obrien <obrien@FreeBSD.org> | 2012-06-20 21:38:16 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2012-06-20 21:38:16 +0000 |
commit | d7c61f6b4f6318284356f1acdd7a55082473ff63 (patch) | |
tree | a9e3fccab4b611fc25e11f22ff96aac3afea036a /tools/regression/usr.bin | |
parent | 0dbfe1d7aac5f952613c59a6f339d3cce942ecde (diff) | |
download | FreeBSD-src-d7c61f6b4f6318284356f1acdd7a55082473ff63.zip FreeBSD-src-d7c61f6b4f6318284356f1acdd7a55082473ff63.tar.gz |
Provide a mechanism to not clear out the work and output dirs when
developing tests.
Diffstat (limited to 'tools/regression/usr.bin')
-rw-r--r-- | tools/regression/usr.bin/make/common.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/regression/usr.bin/make/common.sh b/tools/regression/usr.bin/make/common.sh index e685ea1..f38467f 100644 --- a/tools/regression/usr.bin/make/common.sh +++ b/tools/regression/usr.bin/make/common.sh @@ -239,8 +239,10 @@ eval_clean() if [ -n "${TEST_CLEANUP}" ] ; then . ${SRC_DIR}/cleanup fi - rm -rf ${WORK_DIR} - rm -rf ${OUTPUT_DIR} + if [ -z "${NO_TEST_CLEANUP}" ] ; then + rm -rf ${WORK_DIR} + rm -rf ${OUTPUT_DIR} + fi } # |