diff options
author | netblue30 <netblue30@yahoo.com> | 2016-11-07 12:44:08 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-11-07 12:44:08 -0500 |
commit | 66a476419d301ca7eb879d205e394a0a8c21e598 (patch) | |
tree | 06bb478fe68f81ce2db5374b0f3ed96ccbdb9b51 /Makefile.in | |
parent | profiles (diff) | |
download | firejail-66a476419d301ca7eb879d205e394a0a8c21e598.tar.gz firejail-66a476419d301ca7eb879d205e394a0a8c21e598.tar.zst firejail-66a476419d301ca7eb879d205e394a0a8c21e598.zip |
gcov support
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 86acc206c..bc9f20bd0 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -39,6 +39,7 @@ clean: | |||
39 | for dir in $(APPS) $(MYLIBS); do \ | 39 | for dir in $(APPS) $(MYLIBS); do \ |
40 | $(MAKE) -C $$dir clean; \ | 40 | $(MAKE) -C $$dir clean; \ |
41 | done | 41 | done |
42 | rm -fr gcov-file gcov-dir | ||
42 | rm -f $(MANPAGES) $(MANPAGES:%=%.gz) firejail*.rpm | 43 | rm -f $(MANPAGES) $(MANPAGES:%=%.gz) firejail*.rpm |
43 | rm -f test/utils/index.html* | 44 | rm -f test/utils/index.html* |
44 | rm -f test/utils/wget-log | 45 | rm -f test/utils/wget-log |
@@ -222,3 +223,10 @@ test-fs: | |||
222 | 223 | ||
223 | test: test-profiles test-fs test-utils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters | 224 | test: test-profiles test-fs test-utils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters |
224 | echo "TEST COMPLETE" | 225 | echo "TEST COMPLETE" |
226 | |||
227 | gcov:; | ||
228 | lcov --capture -d src/firejail -d src/firemon -d src/fseccomp -d src/fnet -d src/ftee --output-file gcov-file | ||
229 | rm -fr gcov-dir | ||
230 | genhtml gcov-file --output-directory gcov-dir | ||
231 | |||
232 | \ No newline at end of file | ||