aboutsummaryrefslogtreecommitdiffstats
path: root/lib/parsetools
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/parsetools
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/parsetools')
-rw-r--r--lib/parsetools/test/leex_SUITE.erl8
-rw-r--r--lib/parsetools/test/yecc_SUITE.erl8
2 files changed, 14 insertions, 2 deletions
diff --git a/lib/parsetools/test/leex_SUITE.erl b/lib/parsetools/test/leex_SUITE.erl
index 534f8f7870..23ecc265e9 100644
--- a/lib/parsetools/test/leex_SUITE.erl
+++ b/lib/parsetools/test/leex_SUITE.erl
@@ -35,7 +35,7 @@
-define(privdir, ?config(priv_dir, Config)).
-endif.
--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]).
-export([
file/1, compile/1, syntax/1,
@@ -63,6 +63,12 @@ groups() ->
[{checks, [], [file, compile, syntax]},
{examples, [], [pt, man, ex, ex2, not_yet]}].
+init_per_suite(Config) ->
+ Config.
+
+end_per_suite(_Config) ->
+ ok.
+
init_per_group(_GroupName, Config) ->
Config.
diff --git a/lib/parsetools/test/yecc_SUITE.erl b/lib/parsetools/test/yecc_SUITE.erl
index 4e41fa013d..8d6643590e 100644
--- a/lib/parsetools/test/yecc_SUITE.erl
+++ b/lib/parsetools/test/yecc_SUITE.erl
@@ -34,7 +34,7 @@
-define(privdir, ?config(priv_dir, Config)).
-endif.
--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]).
-export([app_test/1,
@@ -75,6 +75,12 @@ groups() ->
[otp_5369, otp_6362, otp_7945, otp_8483, otp_8486]},
{improvements, [], [otp_7292, otp_7969]}].
+init_per_suite(Config) ->
+ Config.
+
+end_per_suite(_Config) ->
+ ok.
+
init_per_group(_GroupName, Config) ->
Config.