aboutsummaryrefslogtreecommitdiffstats
path: root/lib/runtime_tools
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-12-07 11:35:13 +0100
committerLukas Larsson <[email protected]>2011-02-17 17:34:48 +0100
commit8fd1f31f3074bc9444a0769418506b1ccc2041d3 (patch)
tree5c1bfacf63856ccdb7a4d1fd384b1fe8c47232d9 /lib/runtime_tools
parent83f932257470f5ae01fc61130e997fdea0562653 (diff)
downloadotp-8fd1f31f3074bc9444a0769418506b1ccc2041d3.tar.gz
otp-8fd1f31f3074bc9444a0769418506b1ccc2041d3.tar.bz2
otp-8fd1f31f3074bc9444a0769418506b1ccc2041d3.zip
Add init_per_suite and end_per_suite
Diffstat (limited to 'lib/runtime_tools')
-rw-r--r--lib/runtime_tools/test/dbg_SUITE.erl8
-rw-r--r--lib/runtime_tools/test/erts_alloc_config_SUITE.erl8
-rw-r--r--lib/runtime_tools/test/runtime_tools_SUITE.erl8
3 files changed, 21 insertions, 3 deletions
diff --git a/lib/runtime_tools/test/dbg_SUITE.erl b/lib/runtime_tools/test/dbg_SUITE.erl
index 65512bbe0e..5272c3bb4d 100644
--- a/lib/runtime_tools/test/dbg_SUITE.erl
+++ b/lib/runtime_tools/test/dbg_SUITE.erl
@@ -19,7 +19,7 @@
-module(dbg_SUITE).
%% Test functions
--export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2, big/1, tiny/1, simple/1, message/1, distributed/1,
+-export([all/0, suite/0,groups/0,init_per_suite/1, end_per_suite/1, init_per_group/2,end_per_group/2, big/1, tiny/1, simple/1, message/1, distributed/1,
ip_port/1, file_port/1, file_port2/1, file_port_schedfix/1,
ip_port_busy/1, wrap_port/1, wrap_port_time/1,
with_seq_trace/1, dead_suspend/1, local_trace/1,
@@ -50,6 +50,12 @@ all() ->
groups() ->
[].
+init_per_suite(Config) ->
+ Config.
+
+end_per_suite(_Config) ->
+ ok.
+
init_per_group(_GroupName, Config) ->
Config.
diff --git a/lib/runtime_tools/test/erts_alloc_config_SUITE.erl b/lib/runtime_tools/test/erts_alloc_config_SUITE.erl
index c3e4d24a61..0f141cffed 100644
--- a/lib/runtime_tools/test/erts_alloc_config_SUITE.erl
+++ b/lib/runtime_tools/test/erts_alloc_config_SUITE.erl
@@ -24,7 +24,7 @@
-include_lib("test_server/include/test_server.hrl").
%-compile(export_all).
--export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2, init_per_testcase/2, end_per_testcase/2]).
+-export([all/0, suite/0,groups/0,init_per_suite/1, end_per_suite/1, init_per_group/2,end_per_group/2, init_per_testcase/2, end_per_testcase/2]).
%% Testcases
-export([basic/1]).
@@ -42,6 +42,12 @@ all() ->
groups() ->
[].
+init_per_suite(Config) ->
+ Config.
+
+end_per_suite(_Config) ->
+ ok.
+
init_per_group(_GroupName, Config) ->
Config.
diff --git a/lib/runtime_tools/test/runtime_tools_SUITE.erl b/lib/runtime_tools/test/runtime_tools_SUITE.erl
index 5fcf26cee0..030f72a255 100644
--- a/lib/runtime_tools/test/runtime_tools_SUITE.erl
+++ b/lib/runtime_tools/test/runtime_tools_SUITE.erl
@@ -20,7 +20,7 @@
-include_lib("test_server/include/test_server.hrl").
%% Test server specific exports
--export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2]).
+-export([all/0, suite/0,groups/0,init_per_suite/1, end_per_suite/1, init_per_group/2,end_per_group/2]).
-export([init_per_testcase/2, end_per_testcase/2]).
%% Test cases
@@ -46,6 +46,12 @@ all() ->
groups() ->
[].
+init_per_suite(Config) ->
+ Config.
+
+end_per_suite(_Config) ->
+ ok.
+
init_per_group(_GroupName, Config) ->
Config.