diff options
author | nyamatongwe <devnull@localhost> | 2011-02-03 09:28:15 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-02-03 09:28:15 +1100 |
commit | 959a215de30c5aff8902fb90701d1e1dd9a0c355 (patch) | |
tree | c5472b7e8aed50df76e0b2da317ecab554f74814 | |
parent | d003dfce48c29463c184925cb14faf454287b6ba (diff) | |
download | scintilla-mirror-959a215de30c5aff8902fb90701d1e1dd9a0c355.tar.gz |
Added some coverage testing.
-rw-r--r-- | test/unit/makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/unit/makefile b/test/unit/makefile index 6a4ec8747..c83169e4d 100644 --- a/test/unit/makefile +++ b/test/unit/makefile @@ -20,6 +20,10 @@ CPPFLAGS = $(shell gtest-config --cppflags) CXXFLAGS = $(shell gtest-config --cxxflags) LINKFLAGS = $(shell gtest-config --ldflags --libs) +# For coverage testing with gcov +#CPPFLAGS += -fprofile-arcs -ftest-coverage +#LINKFLAGS += -fprofile-arcs -ftest-coverage + endif #vpath %.cxx ../src ../lexlib ../lexers @@ -45,7 +49,7 @@ GTEST_HEADERS=$(GTEST_DIR)/include/gtest/*.h $(GTEST_DIR)/include/gtest/internal all: $(TESTS) clean: - $(DEL) $(TESTS) *.a *.o *.exe + $(DEL) $(TESTS) *.a *.o *.exe *.gcov *.gcda *.gcno # Usually you shouldn't tweak such internal variables, indicated by a # trailing _. |