aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-02-03 09:28:15 +1100
committernyamatongwe <unknown>2011-02-03 09:28:15 +1100
commit34e3623e3227ed3bfef9bee1b4d3af3043ae2c81 (patch)
tree140751b3ea6bb2814e0ea0e1153e5428dad835d8 /test
parentc4fd6ebf7146c05901d7552fdfa1552ffeafdf11 (diff)
downloadscintilla-mirror-34e3623e3227ed3bfef9bee1b4d3af3043ae2c81.tar.gz
Added some coverage testing.
Diffstat (limited to 'test')
-rw-r--r--test/unit/makefile6
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 _.