summaryrefslogtreecommitdiff
path: root/test/KeyboardInterrupt.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2008-12-10 16:20:12 +0000
committerSteven Knight <knight@baldmt.com>2008-12-10 16:20:12 +0000
commit8b68de3fa23871ca56b08f190998f46a02972036 (patch)
tree3074956643cc0c0533f04e31587edd973ffc26bc /test/KeyboardInterrupt.py
parente5d0f9af8f7517885709fac09674ba04a4f68878 (diff)
downloadscons-8b68de3fa23871ca56b08f190998f46a02972036.tar.gz
Print "scons: Build interrupted." on stderr, not stdout.
Diffstat (limited to 'test/KeyboardInterrupt.py')
-rw-r--r--test/KeyboardInterrupt.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/KeyboardInterrupt.py b/test/KeyboardInterrupt.py
index d5010dd1..f19c2c0e 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')