Skip to content

Commit e1a3eea

Browse files
author
Olli-Pekka Puolitaival
authored
Merge pull request #200 from OPpuolitaival/greentea
Use return code 0 when all tests are skipped
2 parents d1331a1 + da0ec90 commit e1a3eea

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/mbed-greentea/mbed_greentea/mbed_greentea_cli.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,10 +1049,8 @@ def dump_report_to_text_file(filename, content):
10491049
if test_platforms_match == 0:
10501050
# No tests were executed
10511051
gt_logger.gt_log_warn("no platform/target matching tests were found!")
1052-
test_exec_retcode += -10
10531052
if target_platforms_match == 0:
10541053
# No platforms were tested
10551054
gt_logger.gt_log_warn("no matching platforms were found!")
1056-
test_exec_retcode += -100
10571055

10581056
return (test_exec_retcode)

0 commit comments

Comments
 (0)