Commit d958e557 authored by Jérome Perrin's avatar Jérome Perrin Committed by Kazuhiko Shiozaki

runTestSuite: set environment variables for coverage

coverage might use these to compute the upload URL for coverage data
parent 46bda566
...@@ -140,6 +140,9 @@ def main(): ...@@ -140,6 +140,9 @@ def main():
args.test_node_title, suite.allow_restart, test_suite_title, args.test_node_title, suite.allow_restart, test_suite_title,
args.project_title) args.project_title)
if test_result is not None: if test_result is not None:
os.environ['ERP5_TEST_RESULT_REVISION'] = test_result.revision
os.environ['ERP5_TEST_RESULT_ID'] = test_result.test_result_path.split('/')[-1]
assert revision == test_result.revision, (revision, test_result.revision) assert revision == test_result.revision, (revision, test_result.revision)
while suite.acquire(): while suite.acquire():
test = test_result.start(suite.running.keys()) test = test_result.start(suite.running.keys())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment