Fix handling of environment string VERBOSE

main
clanmills 5 years ago
parent 0c7d231752
commit aa462f84d9

@ -153,8 +153,8 @@ python_tests:
@echo
@echo ---- Running python_tests ----
@echo
@echo bash -c 'cd ../tests; export VERBOSE=1; python3 runner.py --verbose'
@bash -c 'cd ../tests; export VERBOSE=1; python3 runner.py --verbose'
@echo bash -c 'cd ../tests; python3 runner.py --verbose'
@bash -c 'cd ../tests; python3 runner.py --verbose'
mostlyclean clean:
rm -rf $(top_srcdir)/test/tmp/*

@ -63,6 +63,7 @@ if __name__ == '__main__':
)
args = parser.parse_args()
args.verbose |= "VERBOSE" in os.environ
conf_file = args.config_file[0]
DEFAULT_ROOT = os.path.abspath(os.path.dirname(conf_file))
system_tests.set_debug_mode(args.debug)

Loading…
Cancel
Save