Add code coverage
Add another target in the makefile to run code coverage.
This commit is contained in:
parent
de76d31fe8
commit
e0a8b3d60a
6
Makefile
6
Makefile
|
@ -129,3 +129,9 @@ smr.so : $(src_files) conf/smr.conf conf/build.conf
|
|||
|
||||
test : $(built)
|
||||
$(Q)$(CD) kore_chroot && busted -v --exclude-tags slow
|
||||
|
||||
cov : $(built)
|
||||
$(Q)$(RM) kore_chroot/luacov.stats.out
|
||||
$(Q)$(CD) kore_chroot && busted -v -c --exclude-tags slow
|
||||
$(Q)$(CD) kore_chroot && luacov $(built)
|
||||
$(Q)$($ECHO) "open kore_chroot/luacov.report.out to view coverage results."
|
||||
|
|
Loading…
Reference in New Issue