From 04c42eea72f4d6e1cdf87b3853d4fed48b03b8e2 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sat, 25 Jul 2009 06:47:43 +0000 Subject: [PATCH] Properly report failures to add/remove/modify file. [SVN r55152] --- v2/test/BoostBuild.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v2/test/BoostBuild.py b/v2/test/BoostBuild.py index f2612c28f..1324b154c 100644 --- a/v2/test/BoostBuild.py +++ b/v2/test/BoostBuild.py @@ -572,7 +572,7 @@ class Tester(TestCmd.TestCmd): try: glob_remove(self.unexpected_difference.added_files, name) except: - print "File %s not added as expected" % name + annotation("failure", "File %s not added as expected" % name) self.fail_test(1) def ignore_addition(self, wildcard): @@ -583,7 +583,7 @@ class Tester(TestCmd.TestCmd): try: glob_remove(self.unexpected_difference.removed_files, name) except: - print "File %s not removed as expected" % name + annotation("failure", "File %s not removed as expected" % name) self.fail_test(1) def ignore_removal(self, wildcard): @@ -594,7 +594,7 @@ class Tester(TestCmd.TestCmd): try: glob_remove(self.unexpected_difference.modified_files, name) except: - print "File %s not modified as expected" % name + annotation("failure", "File %s not modified as expected" % name) self.fail_test(1) def ignore_modification(self, wildcard):