On 14/4/18 8:02 am, Vijay Kumar Banerjee wrote:
Getting this error now seems like something is missing.


RTEMS Testing - Tester, 5 (b2ba08b0da42 modified)
Coverage environment prepared
Traceback (most recent call last):
  File "/home/lunatic/development/rtems/test/rtems-tools/tester/rtems-test", line 40, in <module>
  File "/home/lunatic/development/rtems/test/rtems-tools/tester/rt/test.py", line 353, in run
  File "/home/lunatic/development/rtems/test/rtems-tools/tester/rt/test.py", line 160, in reraise
NameError: global name '_test_reraise' is not defined

The reraise logic was moved to the rtemstoolkit last year:


It had some issues that have been fixed and it is being reused else where in the tester.

-- vijay

On 13 April 2018 at 23:57, Vijay Kumar Banerjee <vijaykumar9...@gmail.com <mailto:vijaykumar9...@gmail.com>> wrote:

    On 13 April 2018 at 23:51, Cillian O'Donnell <cpodonne...@gmail.com
    <mailto:cpodonne...@gmail.com>> wrote:

        Hmmm it's not there. Even so I can almost guarantee you, the
        reason it's not running is that coverage_supported variable is
        not being found as true in qemu.cfg and so the the command to
        generated the trace files isn't run and there's no .cov files in
        the end. So that's what you'll have to dig into.

    Okay , I'll set it to global then.

Changes need to be on the latest version of master before I will review them. The failure above indicate the code you have is not up to date.

The change you have made is generating an exception in the tester thread. If you want to continue down this path you will need to fix what ever you have added.

The tests are run as threads separate from the main thread so the exception is caught and re-raised in the main thread letting you know. This is broken in the old code base you are using.

Why not investigate the reason as indicated and sort if out what the new format configuration file needs?

devel mailing list

Reply via email to