Crossprofiling with gcov, but GCOV_PREFIX and GCOV_PREFIX_STRIP is ignored

前端 未结 2 593
死守一世寂寞
死守一世寂寞 2021-02-08 12:36

I want to use GCOV to make code coverage but the tests will run on another machine. So the hard wired path to .gcda files in the executable won\'t work.

In order to chan

2条回答
  •  轮回少年
    2021-02-08 13:04

    The environment variables are taken into account when you run the code.

    Set them to the appropriate values on the target machine before you run your tests, and the .gcda files will be generated where you want them.

提交回复
热议问题