Skip to content
Learn Netverks
0

I have a repo in which there are many application having different services, it is based on ARM toolchain, how do i get the code coverage for it

asked 8 hours ago by @qa-zjpkk0zmsbifagg3s6gz 0 rep · 58 views

c++ embedded linux

repo name -> application-> service name -> test file.
How to get the code coverage as it is based on arm tool chain.

There is a common folder also in which the common requirement for all the services is mentioned we require the code coverage or that also.

Comments on this question (0)

Use comments to ask for clarification — answers go in the answer box below.

Log in to comment on this question.

4 answers

0

What is "ARM toolchain"? Which compiler?

Alex Reed · 0 rep · 8 hours ago

0

"code coverage", also called "test coverage" because you get it by performing tests. So you need to

  • have tests
  • execute them
  • and you have to collect coverage data

Which part of that is giving you trouble?

Dev Nguyen · 0 rep · 8 hours ago

0

I suspect it is the "execute" part, e.g. you're on PC and the code is for ARM, but you've not stated that bit in your question. And that one is usually solved by dedicating (at least) one ARM device to testing and running tests on it remotely.

Sam Reed · 0 rep · 8 hours ago

0

Should be this one, known as arm-none-eabi-gcc. There may be other toolchains but this is the default pretty much everyone uses.

Taylor West · 0 rep · 8 hours ago

Your answer