[rtems-tools commit] tester: Check for begin/end of test
Sebastian Huber
sebh at rtems.org
Fri Oct 7 04:15:43 UTC 2022
Module: rtems-tools
Branch: master
Commit: 203077030d277980674a14ebf2adc272097ff898
Changeset: http://git.rtems.org/rtems-tools/commit/?id=203077030d277980674a14ebf2adc272097ff898
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Oct 6 09:25:26 2022 +0200
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
More information about the vc
mailing list