aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric <[email protected]>2013-01-04 10:54:21 -0500
committerEric <[email protected]>2013-01-04 10:54:21 -0500
commit47e700e7ad364dc4d919bc5b16c18e71b4a0892d (patch)
treec759343f4dc1fa91d71b81a4c0999b36f9a7ca39
parent3a5cb6adf215e760068c9d3e7a07eb4f971cabf0 (diff)
downloadrelx-47e700e7ad364dc4d919bc5b16c18e71b4a0892d.tar.gz
relx-47e700e7ad364dc4d919bc5b16c18e71b4a0892d.tar.bz2
relx-47e700e7ad364dc4d919bc5b16c18e71b4a0892d.zip
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.
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
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