Commit 33aa7ca
committed
config: runtime: tests: ltp: enable support for code coverage
When enabling code coverage support using in-kernel GCOV, we must first
reset coverage "recording" right before starting the test, then ensure
we pack and upload the resulting artifacts.
Those steps are executed by including the corresponding sub-templates
whenever the kernel has been built with GCOV support, IOW when the
`coverage` fragment is part of the build config.
Signed-off-by: Arnaud Ferraris <[email protected]>1 parent e08ccd8 commit 33aa7ca
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments