aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/test/erl_match_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-10-12 10:40:08 +0200
committerLukas Larsson <[email protected]>2011-02-17 17:25:13 +0100
commit87e168ba95f57d6d5de88c2b2f06d37039bb40e5 (patch)
treed981850794423659cddd30bcc2df4119adcfb156 /lib/erl_interface/test/erl_match_SUITE.erl
parentf02cc10b4bda484996b7b93436fcaf8d714cb3da (diff)
downloadotp-87e168ba95f57d6d5de88c2b2f06d37039bb40e5.tar.gz
otp-87e168ba95f57d6d5de88c2b2f06d37039bb40e5.tar.bz2
otp-87e168ba95f57d6d5de88c2b2f06d37039bb40e5.zip
Update erl_interface tests to conform with common_test standard
Diffstat (limited to 'lib/erl_interface/test/erl_match_SUITE.erl')
-rw-r--r--lib/erl_interface/test/erl_match_SUITE.erl19
1 files changed, 15 insertions, 4 deletions
diff --git a/lib/erl_interface/test/erl_match_SUITE.erl b/lib/erl_interface/test/erl_match_SUITE.erl
index 2c0cdc0c27..d2ab6bd722 100644
--- a/lib/erl_interface/test/erl_match_SUITE.erl
+++ b/lib/erl_interface/test/erl_match_SUITE.erl
@@ -20,10 +20,10 @@
%%
-module(erl_match_SUITE).
--include("test_server.hrl").
+-include_lib("test_server/include/test_server.hrl").
-include("erl_match_SUITE_data/match_test_cases.hrl").
--export([all/1, atoms/1, lists/1, tuples/1, references/1, pids/1, ports/1,
+-export([all/0,groups/0,init_per_group/2,end_per_group/2, atoms/1, lists/1, tuples/1, references/1, pids/1, ports/1,
bind/1, integers/1, floats/1, binaries/1, strings/1]).
%% For interactive running of matcher.
@@ -31,8 +31,19 @@
%% This test suite tests the erl_match() function.
-all(suite) -> [atoms, lists, tuples, references, pids, ports, bind,
- integers, floats, binaries, strings].
+all() ->
+[atoms, lists, tuples, references, pids, ports, bind,
+ integers, floats, binaries, strings].
+
+groups() ->
+ [].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
+
atoms(suite) -> [];
atoms(Config) when is_list(Config) ->