Skip to content

Commit

Permalink
Fix test result summary logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mav-intel committed Dec 16, 2024
1 parent 1b6413f commit 025d43d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/summary/summarize_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,17 +759,15 @@ def scan_test_results(self,
test_result_files.extend([('csv', os.path.abspath(match))
for match in glob("*.csv")])
count = 0

if not suite_per_file:
suite = TestSuite(suite_name, source)
suite = TestSuite(suite_name, source)

for result_format, result_file in test_result_files:
tests_found = None
if suite_per_file:
suite = TestSuite(
suite_name + "/" + os.path.basename(result_file),
result_file)
tests_found = suite.read_result(result_file, result_format)
tests_found = suite.read_result(result_file, result_format)
if tests_found:
count += 1
if suite_per_file:
Expand Down

0 comments on commit 025d43d

Please sign in to comment.