From d50d86168d63d5c5c210377e067580bf42f8e2cc Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Wed, 17 Oct 2012 17:05:11 +0000 Subject: [PATCH] add a way to keep a test's temporary files even if it passes (e.g. hprof profiler output or something) git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1399347 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/common-build.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lucene/common-build.xml b/lucene/common-build.xml index bb6e90872aa..e02f3518e60 100644 --- a/lucene/common-build.xml +++ b/lucene/common-build.xml @@ -771,6 +771,7 @@ + @@ -808,7 +809,7 @@ dynamicAssignmentRatio="${tests.dynamicAssignmentRatio}" shuffleOnSlave="true" - leaveTemporary="false" + leaveTemporary="${tests.leaveTemporary}" seed="${tests.seed}" heartbeat="${tests.heartbeat}" @@ -1116,6 +1117,10 @@ ant -Dtests.timestamps=on ... # Override forked JVM file.encoding ant -Dtests.file.encoding=XXX ... +# Don't remove temporary files under slave directories, even if +# the test passes. +ant -Dtests.leaveTemporary=true + # Output test files and reports. ${tests-output}/tests-report.txt - full ASCII tests report ${tests-output}/tests-failures.txt - failures only (if any)