aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/ct_master_SUITE.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2011-04-06 16:51:04 +0200
committerPeter Andersson <[email protected]>2011-04-20 22:32:09 +0200
commit1b51729df1a5c9678beb73318b8cf2a12b0e145d (patch)
treeba8f1faaa845bb53e5f56b3963f525a93f90b90a /lib/common_test/test/ct_master_SUITE.erl
parente78722d26442a6d0caf81f200ee2bc0a8d7cfbba (diff)
downloadotp-1b51729df1a5c9678beb73318b8cf2a12b0e145d.tar.gz
otp-1b51729df1a5c9678beb73318b8cf2a12b0e145d.tar.bz2
otp-1b51729df1a5c9678beb73318b8cf2a12b0e145d.zip
Do minor updates of the ts test framework.
Diffstat (limited to 'lib/common_test/test/ct_master_SUITE.erl')
-rw-r--r--lib/common_test/test/ct_master_SUITE.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/common_test/test/ct_master_SUITE.erl b/lib/common_test/test/ct_master_SUITE.erl
index e89b6f7de6..1471cc1e0c 100644
--- a/lib/common_test/test/ct_master_SUITE.erl
+++ b/lib/common_test/test/ct_master_SUITE.erl
@@ -119,8 +119,9 @@ ct_master_test(Config) when is_list(Config)->
Events = ct_test_support:get_events(ERPid, Config),
ct_test_support:log_events(groups_suite_1,
- reformat(Events, ?eh),
- ?config(priv_dir, Config)),
+ reformat(Events, ?eh),
+ PrivDir, []),
+
find_events(NodeNames, [{tc_start,{master_SUITE,init_per_suite}},
{tc_start,{master_SUITE,first_testcase}},
{tc_start,{master_SUITE,second_testcase}},
@@ -174,7 +175,7 @@ make_spec(DataDir, FileName, NodeNames, Suites, Config)->
ct_test_support:write_testspec(N++Include++EH++C++S++LD++NS, FileName).
-get_log_dir({win32,_},PrivDir, NodeName)->
+get_log_dir({win32,_}, _PrivDir, NodeName)->
case filelib:is_dir(?TEMP_DIR) of
false ->
file:make_dir(?TEMP_DIR);