Before the fatal-error test result type was introduced, minimum.exe was classified as an invalid test since it lacked a proper test header and trailer. This applies the test exclusions to all test states to avoid this happening again in the future. --- tester/rt/report.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/tester/rt/report.py b/tester/rt/report.py index a688dc8..5c369e6 100644 --- a/tester/rt/report.py +++ b/tester/rt/report.py @@ -192,7 +192,11 @@ class report(object): if tools != self.config['tools']: state = 'WRONG_TOOLS' if state is None or state == 'EXPECTED_PASS': - if start and end: + exe_name = path.basename(name).split('.')[0] + if exe_name in test_fail_excludes: + status = 'passed' + self.passed += 1 + elif start and end: if state is None or state == 'EXPECTED_PASS': status = 'passed' self.passed += 1 @@ -210,13 +214,8 @@ class report(object): status = 'failed' self.failed += 1 else: - exe_name = path.basename(name).split('.')[0] - if exe_name in test_fail_excludes: - status = 'passed' - self.passed += 1 - else: - status = 'invalid' - self.invalids += 1 + status = 'invalid' + self.invalids += 1 else: if state == 'EXPECTED_FAIL': if start and end: -- 2.39.2 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel