From 9fef1689f54528d64b605e85497b8079adfe5ea5 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Tue, 25 Apr 2006 14:54:32 +0000 Subject: [PATCH] Create 'failed_test' dir only if test fails [SVN r33812] --- v2/test/BoostBuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/test/BoostBuild.py b/v2/test/BoostBuild.py index c5b4c59a6..239f76975 100644 --- a/v2/test/BoostBuild.py +++ b/v2/test/BoostBuild.py @@ -370,7 +370,7 @@ class Tester(TestCmd.TestCmd): if condition and dump_stdio: self.dump_stdio() - if '--preserve' in sys.argv: + if condition and '--preserve' in sys.argv: print print "*** Copying the state of working dir into 'failed_test' ***" print