FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 95410708 authored by L. Bower's avatar L. Bower
Browse files

updating outputs for run test script

parent c89b3db2
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ def build_test_runner() -> TestSuite: ...@@ -21,7 +21,7 @@ def build_test_runner() -> TestSuite:
if __name__ == '__main__': if __name__ == '__main__':
_output_dir = sys.argv.pop() _output_dir = sys.argv.pop()
_tests = build_test_runner() _tests = build_test_runner()
_runner = HTMLTestRunner(output=_output_dir) _runner = HTMLTestRunner(output=_output_dir, log = True)
_result: TestResult = _runner.run(_tests) _result: TestResult = _runner.run(_tests)
if not _result.wasSuccessful(): if not _result.wasSuccessful():
sys.exit(1) sys.exit(1)
...@@ -24,4 +24,5 @@ export PYTHONPATH=$PYTHONPATH:$epimodel:$advisory:$met_processing:$met_processor ...@@ -24,4 +24,5 @@ export PYTHONPATH=$PYTHONPATH:$epimodel:$advisory:$met_processing:$met_processor
echo $PYTHONPATH echo $PYTHONPATH
tempdir=$(mktemp -d) tempdir=$(mktemp -d)
printf "LOGS AND TEST REPORT WILL BE IN %s\n" "$tempdir"
python3 -m coverage run run_test_suite.py "$tempdir" python3 -m coverage run run_test_suite.py "$tempdir"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment