coverage : not getting coverage for leon3-sis-cov

Vijay Kumar Banerjee vijaykumar9597 at gmail.com
Fri Feb 1 07:27:47 UTC 2019


Hi,

I'm attempting to run covoar for leon3-sis-cov with the following commands.

===================
$HOME/development/rtems/rtems-tools/tester/rtems-test \
--rtems-tools=$HOME/development/rtems/5 \
--rtems-bsp=leon3-sis-cov \
sparc-rtems5/c/leon3/testsuites/samples



/home/lunatic/development/rtems/5/share/rtems/tester/bin/covoar \
-v -f TSIM \
-S
/home/lunatic/development/rtems/5/share/rtems/tester/rtems/testing/coverage/score-symbols.ini
\
-E
/home/lunatic/development/rtems/rtems-tools/tester/rtems/testing/coverage/Explanations.txt
\
-p RTEMS-5 \
sparc-rtems5/c/leon3/testsuites/samples/*.exe
===================

I'm getting and "unknown option -cov" error like the one given below.
======================
]
]  SIS - SPARC instruction simulator 2.8,  copyright Jiri Gaisler 1995
]  Bug-reports to jiri at gaisler.se
]
] unknown option -cov
] usage: sis [-uart1 uart_device1] [-uart2 uart_device2]
] [-sparclite] [-dumbio] [-v]
] [-nfp] [-freq frequency] [-c batch_file] [files]
[12/13] p:1  f:0  u:0  e:0  I:0  B:0  t:0  i:7  W:0  | sparc/leon3:
ticker.exe
Result: invalid    Time: 0:00:01.011465 ticker.exe
=>  run: /home/lunatic/development/rtems/5/bin/sparc-rtems5-sis -leon3
-nouartrx -r -tlim 200 s -cov
sparc-rtems5/c/leon3/testsuites/samples/ticker.exe
=====================

the test results are 'invalid'. When I remove the `-cov` from the bsp ini
file, then the tests pass without any error. However, I'm not getting
any coverage.

Here's the summary.txt generated:
========
 Bytes Analyzed           : 26376
 Bytes Not Executed       : 26376
 Percentage Executed      :     0
 Percentage Not Executed  :   100
 Uncovered ranges found   : 173
 No branch information available
========

Am I missing something?


--vijay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190201/28891659/attachment-0001.html>


More information about the devel mailing list