Skip to content

Commit d52b128

Browse files
committed
Be more clear that check-incremental outputs are errors
1 parent fc7068e commit d52b128

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/check-incremental

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,14 @@ def main():
9292
# This is the most important check: is the output file exactly the
9393
# same.
9494
if reference_md5 != second_md5:
95-
sys.exit("non-determinism when generating: " + output_file +
95+
sys.exit("ERROR: non-determinism when generating: " + output_file +
9696
"\ncommand line:\n" + " ".join(new_args))
9797

9898
# This is the bonus check: does the compiler not re-write the output
9999
# file. (For compilations < 1sec this check may succeed even if the
100100
# file was overwritten).
101101
if compare_time and reference_time != second_time:
102-
sys.exit("file re-written: " + output_file)
102+
sys.exit("ERROR: file timestamp was re-written: " + output_file)
103103

104104

105105
if __name__ == '__main__':

0 commit comments

Comments
 (0)