aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-12-14 10:37:45 +0100
committerLukas Larsson <[email protected]>2011-01-24 10:45:14 +0100
commit15ef1d31ecce6127926fa577850927d3228d4664 (patch)
treebbd34be9863004d940d0d2df5eb150e8452c85d5
parentab085b4bbdefd42b456f03dee47f6c51059a8192 (diff)
downloadotp-15ef1d31ecce6127926fa577850927d3228d4664.tar.gz
otp-15ef1d31ecce6127926fa577850927d3228d4664.tar.bz2
otp-15ef1d31ecce6127926fa577850927d3228d4664.zip
Add kill_slavenodes/0 as an exported function
-rw-r--r--lib/test_server/src/test_server_ctrl.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/test_server/src/test_server_ctrl.erl b/lib/test_server/src/test_server_ctrl.erl
index 2ab7b799fc..00278c0165 100644
--- a/lib/test_server/src/test_server_ctrl.erl
+++ b/lib/test_server/src/test_server_ctrl.erl
@@ -168,6 +168,7 @@
cross_cover_analyse/1, cross_cover_analyse/2, trc/1, stop_trace/0]).
-export([testcase_callback/1]).
-export([set_random_seed/1]).
+-export([kill_slavenodes/0]).
%%% TEST_SERVER INTERFACE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-export([output/2, print/2, print/3, print_timestamp/2]).
@@ -525,6 +526,9 @@ testcase_callback(ModFunc) ->
set_random_seed(Seed) ->
controller_call({set_random_seed,Seed}).
+kill_slavenodes() ->
+ controller_call(kill_slavenodes).
+
get_hosts() ->
get(test_server_hosts).