mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
[SCons] Missing test output files are an "error", not "info"
This commit is contained in:
parent
23f183a8e8
commit
7e071df5cd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user