summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2008-12-10 16:20:12 (GMT)
committerSteven Knight <knight@baldmt.com>2008-12-10 16:20:12 (GMT)
commitb4d7c306c8e6b42a04b71dacb7ce829713e9d106 (patch)
tree3074956643cc0c0533f04e31587edd973ffc26bc /test
parent2766fe209f8a25295455956337a4b1ff9730e32e (diff)
downloadSCons-b4d7c306c8e6b42a04b71dacb7ce829713e9d106.zip
SCons-b4d7c306c8e6b42a04b71dacb7ce829713e9d106.tar.gz
SCons-b4d7c306c8e6b42a04b71dacb7ce829713e9d106.tar.bz2
Print "scons: Build interrupted." on stderr, not stdout.
Diffstat (limited to 'test')
-rw-r--r--test/KeyboardInterrupt.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/KeyboardInterrupt.py b/test/KeyboardInterrupt.py
index d5010dd..f19c2c0 100644
--- a/test/KeyboardInterrupt.py
+++ b/test/KeyboardInterrupt.py
@@ -87,8 +87,6 @@ Default( Alias('all', all))
interruptedStr = """\
.*\
-scons: Build interrupted\\.
-.*\
scons: building terminated because of errors\\.
.*\
scons: writing .sconsign file\\.
@@ -98,7 +96,9 @@ scons: writing .sconsign file\\.
def runtest(arguments):
test.run(arguments='-c')
test.run(arguments=arguments, status=2,
- stdout=interruptedStr, stderr=r'.*', match=TestSCons.match_re_dotall)
+ stdout=interruptedStr,
+ stderr='.*scons: Build interrupted\\.',
+ match=TestSCons.match_re_dotall)
for i in range(2):
runtest('-j1')