mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
[SCons] Restore missing regression test log output
This commit is contained in:
committed by
Ingmar Schoegl
parent
a76b349627
commit
e2c446c25a
@@ -108,17 +108,13 @@ valid_commands = ("build", "clean", "install", "uninstall",
|
||||
if GetOption("silent"):
|
||||
logger.logger.setLevel("ERROR")
|
||||
else:
|
||||
logger.logger.setLevel("WARNING")
|
||||
logger.logger.setLevel("INFO")
|
||||
|
||||
for command in COMMAND_LINE_TARGETS:
|
||||
if command not in valid_commands and not command.startswith('test'):
|
||||
logger.error(f"Unrecognized command line target: {command!r}")
|
||||
sys.exit(1)
|
||||
|
||||
# update default logging level
|
||||
if command in ["build", "dump"] and not GetOption("silent"):
|
||||
logger.logger.setLevel("INFO")
|
||||
|
||||
if "clean" in COMMAND_LINE_TARGETS:
|
||||
remove_directory("build")
|
||||
remove_directory("stage")
|
||||
|
||||
Reference in New Issue
Block a user