RELEASE 1.X - XXX
+ From Steven Knight:
+
+ - Print the message, "scons: Build interrupted." on error output,
+ not standard output.
+
From Matthew Wesley:
- Copy file attributes so we identify, and can link a shared library
failure_message=failure_message
):
if jobs.were_interrupted():
- progress_display("scons: Build interrupted.")
+ if not options.no_progress and not options.silent:
+ sys.stderr.write("scons: Build interrupted.\n")
global exit_status
global this_build_status
exit_status = 2
interruptedStr = """\
.*\
-scons: Build interrupted\\.
-.*\
scons: building terminated because of errors\\.
.*\
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')