Skip to content

Commit

Permalink
Leverage rebar's common test plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Ferrigni committed Oct 7, 2013
1 parent f228315 commit 665a9d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ itest: compile
@echo "Recompiling with -DTEST ..."
@rebar clean skip_deps=true
@rebar compile skip_deps=true -DTEST
@mkdir -p itest/ct_logs
@ct_run -spec itest/spec.spec -pa deps/*/ebin -pa ebin
@rebar skip_deps=true ct
@echo "Review results with: open itest/ct_logs/index.html"


Expand Down
3 changes: 3 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@
]}.

{cover_enabled, true}.

{ct_dir, "itest"}.
{ct_log_dir, "itest/ct_logs"}.

0 comments on commit 665a9d4

Please sign in to comment.