summaryrefslogtreecommitdiff
path: root/rebar.config.sample
diff options
context:
space:
mode:
authorTim Watson <tim@rabbitmq.com>2012-05-22 15:50:26 +0100
committerTim Watson <tim@rabbitmq.com>2012-05-22 15:50:26 +0100
commitbebd9d2ae6da04c367e4b7aa976c2b4d4abbd471 (patch)
tree599d9b7c61ab8b690f08ae95617281967863bf3b /rebar.config.sample
parent635d1a9456dc475116b5a5568fc4ab883d09dd8a (diff)
downloadrebar-bebd9d2ae6da04c367e4b7aa976c2b4d4abbd471.tar.gz
Support ct_run using short name
Not every system under test can be run with long names, and this makes rebar's common_test support useless in those environments, as it currently uses long names (test@hostname.domain) by default, without recourse to change them. This patch adds support for a {ct_use_short_names, boolean()} config variable, which allows the user to specify whether short or long names are required.
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 dc4253b..0e846f9 100644
--- a/rebar.config.sample
+++ b/rebar.config.sample
@@ -85,6 +85,9 @@
%% Option to pass extra parameters when launching Common Test
{ct_extra_params, "-boot start_sasl -s myapp"}.
+%% Option to use short names (i.e., -sname test) when starting ct
+{ct_use_short_names, true}.
+
%% == Cleanup ==
%% Which files to cleanup