DescriptionMake win_as.py notice and report errors better
The win_as.py script completely hides errors from running
cl.exe (the C preprocessor) and while it displays errors from
running the assembler, it hides the exit status of the assembler so
the script returns success even if the commands it ran failed.
Fix this by detecting the exit status from running cl.exe and
displaying its stderr when there was an error, and by detecting
the exit status from running the assembler, and having the script
exit with failure if either command failed.
BUG=512869
TEST= trybots
R=bradnelson@chromium.org, scottmg@chromium.org
Committed: https://chromium.googlesource.com/native_client/src/native_client/+/ba703459e79eb73b9a7a2bf9b1ca644106e20a9f
Patch Set 1 #
Total comments: 5
Patch Set 2 : use p.returncode #Messages
Total messages: 9 (2 generated)
|