[SCons] Missing test output files are an "error", not "info"

This commit is contained in:
Ray Speth 2023-08-26 14:32:54 -04:00 committed by Ingmar Schoegl
parent 23f183a8e8
commit 7e071df5cd

View File

@ -743,7 +743,7 @@ def regression_test(target: "LFSNode", source: "LFSNode", env: "SCEnvironment"):
for blessed, output in comparisons: for blessed, output in comparisons:
if not dir.joinpath(output).is_file(): if not dir.joinpath(output).is_file():
logger.info(f"Output file '{output}' not found", print_level=False) logger.error(f"Output file '{output}' not found", print_level=False)
logger.error("FAILED", print_level=False) logger.error("FAILED", print_level=False)
diff |= TestResult.FAIL diff |= TestResult.FAIL
continue continue
@ -755,7 +755,7 @@ def regression_test(target: "LFSNode", source: "LFSNode", env: "SCEnvironment"):
for blessed, output in env["test_profiles"]: for blessed, output in env["test_profiles"]:
if not dir.joinpath(output).is_file(): if not dir.joinpath(output).is_file():
logger.info(f"Output file '{output}' not found", print_level=False) logger.error(f"Output file '{output}' not found", print_level=False)
logger.error("FAILED", print_level=False) logger.error("FAILED", print_level=False)
diff |= TestResult.FAIL diff |= TestResult.FAIL
continue continue