Skip to content

Commit

Permalink
Add coverage testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
arcusfelis committed Jan 11, 2012
1 parent cf6310b commit 2e5ef06
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -8,3 +8,6 @@ deps/*
*.dll *.dll
.eunit .eunit
doc/README.md doc/README.md
*.gcov
*.gcda
*.gcno
7 changes: 7 additions & 0 deletions Makefile
Expand Up @@ -3,6 +3,7 @@ PREFIX:=../
DEST:=$(PREFIX)$(PROJECT) DEST:=$(PREFIX)$(PROJECT)


REBAR=./rebar REBAR=./rebar
#REBAR=./rebar -v
#-include setenv.mk #-include setenv.mk




Expand Down Expand Up @@ -32,3 +33,9 @@ dialyzer:
app: app:
@$(REBAR) create template=mochiwebapp dest=$(DEST) appid=$(PROJECT) @$(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.