Skip to content

Commit

Permalink
depends.py: fix typo and slightly reorganized code
Browse files Browse the repository at this point in the history
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
  • Loading branch information
valeriosetti committed Feb 2, 2023
1 parent 9cb0f7a commit 00c1ccb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/scripts/analyze_outcomes.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,16 @@ def analyze_driver_vs_reference(outcomes, component_ref, component_driver,
result = True

for key in available:
# Skip ignored test suites
full_test_suite = key.split(';')[0] # retrieve full test suit name
test_string = key.split(';')[1] # retrieve the text string of this test
test_suite = full_test_suite.split('.')[0] # retrieve main part of test suit name
if test_suite in ignored_suites:
continue
# Continue if test was not executed by any component
hits = outcomes[key].hits() if key in outcomes else 0
if hits == 0:
continue
# Skip ignored test suites
full_test_suite = key.split(';')[0] # retrieve full test suite name
test_string = key.split(';')[1] # retrieve the text string of this test
test_suite = full_test_suite.split('.')[0] # retrieve main part of test suite name
if test_suite in ignored_suites:
continue
if ((full_test_suite in ignored_test) and
(test_string in ignored_test[full_test_suite])):
continue
Expand Down

0 comments on commit 00c1ccb

Please sign in to comment.