summaryrefslogtreecommitdiff
path: root/rebar.config.sample
diff options
context:
space:
mode:
authorDeadZen <deadzen@deadzen.com>2012-07-28 17:43:56 -0400
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-08-07 14:22:59 +0200
commitf1d35f9d06e25f292f537217ce7f56034aabd432 (patch)
treefb4214832f431b4a8ab3df410a3af65e53d9ee84 /rebar.config.sample
parent888bbc8ee2cabc75fda5dc3f7cf3a9d215042b71 (diff)
downloadrebar-f1d35f9d06e25f292f537217ce7f56034aabd432.tar.gz
Add ct_log_dir option, skip test dir with no SUITE
When rebar ct executes with its default common test directory of "test", it will generate a hardcoded "logs" directory in every application with a test directory present, causing an overlap with eunit's test framework so even test directories with only eunit tests will be processed by ct.
Diffstat (limited to 'rebar.config.sample')
-rw-r--r--rebar.config.sample3
1 files changed, 3 insertions, 0 deletions
diff --git a/rebar.config.sample b/rebar.config.sample
index a6f5bf7..4243924 100644
--- a/rebar.config.sample
+++ b/rebar.config.sample
@@ -86,6 +86,9 @@
%% Override the default "test" directory in which SUITEs are located
{ct_dir, "itest"}.
+%% Override the default "logs" directory in which SUITEs are logged
+{ct_log_dir, "test/logs"}.
+
%% Option to pass extra parameters when launching Common Test
{ct_extra_params, "-boot start_sasl -s myapp"}.