[tools] tester: Check for begin/end of test
Chris Johns
chrisj at rtems.org
Fri Oct 7 03:08:43 UTC 2022
OK
Thanks
Chris
On 6/10/2022 6:29 pm, Sebastian Huber wrote:
> 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 d3bf1cb..21580e2 100644
> --- a/tester/rt/report.py
> +++ b/tester/rt/report.py
> @@ -144,11 +144,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 devel
mailing list