From 47e700e7ad364dc4d919bc5b16c18e71b4a0892d Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 4 Jan 2013 10:54:21 -0500 Subject: make common_test support explicit The rebar support for common test is very, very buggy and it fails often without common_test failing due to how rebar integrates with common test. This patch takes the responsability for running common test from rebar and runs it directly. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2e43f9d..1cf2e23 100644 --- a/Makefile +++ b/Makefile @@ -61,7 +61,11 @@ eunit: compile clean-common-test-data $(REBAR) skip_deps=true eunit ct: compile clean-common-test-data - $(REBAR) skip_deps=true ct + ct_run -pa $(CURDIR)/ebin \ + -pa $(CURDIR)/deps/*/ebin \ + -logdir $(CURDIR)/logs \ + -dir $(CURDIR)/test/ \ + -suite rclt_command_SUITE rclt_discover_SUITE -suite rclt_release_SUITE test: compile eunit ct -- cgit v1.2.3