[Coverage/Fix] Disable optimization and remove redundant gcov run
authorDongju Chae <dongju.chae@samsung.com>
Tue, 21 Apr 2020 03:04:24 +0000 (12:04 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 22 Apr 2020 07:17:07 +0000 (16:17 +0900)
commit243ca09cf5fd212509e150d4dcefaf36abf30195
tree4aafa613fdcc76e6ca27eacaef1c86aff1fecf1d
parent08e1042a7f2ef81d0353105ccf2d393fa258a272
[Coverage/Fix] Disable optimization and remove redundant gcov run

This patch disables code optimization for coverage analysis and remove
redundant gcov run.

In fact, we don't need to run the python script, unittestcoverage.py
which recursively executes gcov. Because lcov internally execute gcov,
the results of the script are never used.

FYI...
- when program is compiled with coverage option, .gcno files are created.
- When such programs are executed, .gcda files are created.
- As lcov input files are .gcda. we don't need to run gcov before lcov.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
packaging/nnstreamer.spec
tests/unittestcoverage.py [deleted file]