From 203077030d277980674a14ebf2adc272097ff898 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 6 Oct 2022 09:25:26 +0200 Subject: tester: Check for begin/end of test Check for "BEGIN OF TEST" and "END OF TEST" to not use other information blocks such as "END OF GCOV" to determine the test status. --- tester/rt/report.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tester/rt/report.py b/tester/rt/report.py index 20cc9a7..a688dc8 100644 --- a/tester/rt/report.py +++ b/tester/rt/report.py @@ -141,11 +141,11 @@ class report(object): if line[0] == output_prefix: if line[1].startswith('*** '): banner = line[1][4:] - if banner.startswith('BEGIN OF '): + if banner.startswith('BEGIN OF TEST '): start = True - elif line[1][4:].startswith('END OF '): + elif banner.startswith('END OF TEST '): end = True - elif line[1][4:].startswith('FATAL'): + elif banner.startswith('FATAL'): fatal = True elif banner.startswith('TIMEOUT TIMEOUT'): timeout = True -- cgit v1.2.3