diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-10-06 09:25:26 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-10-07 06:26:31 +0200 |
commit | 203077030d277980674a14ebf2adc272097ff898 (patch) | |
tree | ed23ed9a29e1d43a78cd443e63d05e2ab4069172 | |
parent | rtems-bsps-aarch64.ini: Remove trailing comma causing empty BSP name (diff) | |
download | rtems-tools-203077030d277980674a14ebf2adc272097ff898.tar.bz2 |
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.
-rw-r--r-- | tester/rt/report.py | 6 |
1 files 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 |