Skip to content

Commit

Permalink
Update ctest2ci.py
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored Jul 11, 2024
1 parent bd422d6 commit 1758ad6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/ctest2ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def start_test_fold():

if not in_failing_test and re.search('[0-9]+% tests passed, [0-9]+ tests failed out of', updated_line):
tests_failing = re.match(r'.* ([0-9]+) tests failed', updated_line).group(1)
set_output(TESTS_FAILING, tests_failing)
set_output('TESTS_FAILING', tests_failing)
end_fold()

if re.search('100% tests passed', updated_line):
Expand All @@ -125,7 +125,7 @@ def start_test_fold():
start_fold('submit')
elif re.search('Test results submitted to', updated_line):
cdash_url = re.match(r'.*(http.*)$', updated_line).group(1)
set_output(CDASH_URL, cdash_url)
set_output('CDASH_URL', cdash_url)
end_fold()

sys.stdout.write(updated_line)
Expand Down

0 comments on commit 1758ad6

Please sign in to comment.