How can I use the covoar tool?

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Mar 20 12:16:23 UTC 2019


Hello,

the RTEMS project has a covoar tool:

https://git.rtems.org/rtems-tools/tree/tester/covoar

I have seen some reports generated by it, but I never used it myself. I 
have trouble to find out how it works. There is nothing in the 
documentation:

cd rtems-docs
grep -ri covoar .

There is some documentation available here:

https://devel.rtems.org/wiki/GCI/Documentation/CoverageAnalysis/Coverage

If I invoke the rtems-test like this in the erc32 BSP build directory, I 
get an error:

rtems-test --rtems-bsp=erc32-sis --rtems-tools=/build/rtems/5 --coverage 
--target=sparc-rtems5 .
RTEMS Testing - Tester, 5.0.not_released
  Command Line: /build/rtems/5/bin/rtems-test --rtems-bsp=erc32-sis 
--rtems-tools=/build/rtems/5 --coverage --target=sparc-rtems5 .
  Python: 3.6.5 (default, Mar 31 2018, 19:45:04) [GCC]
Host: Linux-4.12.14-lp150.12.48-default-x86_64-with-glibc2.3.4 (Linux 
huber-nb-linux.suse 4.12.14-lp150.12.48-default #1 SMP Tue Feb 12 
14:01:48 UTC 2019 (268f014) x86_64 x86_64)
Traceback (most recent call last):
   File "/build/rtems/5/share/rtems/tester/rt/cmd-test.py", line 42, in 
<module>
     test.run(sys.argv[1:], command_path = base)
   File "/build/rtems/5/share/rtems/tester/rt/test.py", line 300, in run
     trace = cov_trace)
   File "/build/rtems/5/share/rtems/tester/rt/coverage.py", line 363, in 
__init__
     self.target = self.macros['target']
   File "/build/rtems/5/share/rtems/rtemstoolkit/macros.py", line 181, 
in __getitem__
     raise IndexError('key: %s' % (key))
IndexError: key: target

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list