Permalink
Browse files

Add coverage testing.

  • Loading branch information...
1 parent cf6310b commit 2e5ef067d103ead834c8cba4598878dd417e623a @arcusfelis arcusfelis committed Jan 11, 2012
Showing with 10 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +7 −0 Makefile
View
@@ -8,3 +8,6 @@ deps/*
*.dll
.eunit
doc/README.md
+*.gcov
+*.gcda
+*.gcno
View
@@ -3,6 +3,7 @@ PREFIX:=../
DEST:=$(PREFIX)$(PROJECT)
REBAR=./rebar
+#REBAR=./rebar -v
#-include setenv.mk
@@ -32,3 +33,9 @@ dialyzer:
app:
@$(REBAR) create template=mochiwebapp dest=$(DEST) appid=$(PROJECT)
+
+
+cover:
+ export I18N_REBAR_COVER="true"; $(REBAR) skip_deps=true clean compile eunit
+ gcov -p -o c_src c_src/*.cpp
+

0 comments on commit 2e5ef06

Please sign in to comment.