aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/test/diameter_capx_SUITE.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-12-14 14:49:31 +0100
committerAnders Svensson <[email protected]>2011-12-16 18:25:30 +0100
commit40c11394f000b4bad36e45ef2c3d45882f39ac6e (patch)
tree48a7292e95cfa1059a6d0248d77a3c0c35a552c3 /lib/diameter/test/diameter_capx_SUITE.erl
parent085d179fd8c192d42415e5df73bc3eb8a6d912d2 (diff)
downloadotp-40c11394f000b4bad36e45ef2c3d45882f39ac6e.tar.gz
otp-40c11394f000b4bad36e45ef2c3d45882f39ac6e.tar.bz2
otp-40c11394f000b4bad36e45ef2c3d45882f39ac6e.zip
Use new syntax for specifying ct group properties
No longer have to duplicate groups for sequential and parallel runs.
Diffstat (limited to 'lib/diameter/test/diameter_capx_SUITE.erl')
-rw-r--r--lib/diameter/test/diameter_capx_SUITE.erl15
1 files changed, 3 insertions, 12 deletions
diff --git a/lib/diameter/test/diameter_capx_SUITE.erl b/lib/diameter/test/diameter_capx_SUITE.erl
index 4270210a10..c1ecd7bb14 100644
--- a/lib/diameter/test/diameter_capx_SUITE.erl
+++ b/lib/diameter/test/diameter_capx_SUITE.erl
@@ -105,20 +105,14 @@ suite() ->
all() -> [start,
start_services,
add_listeners,
- {group, sequential},
- {group, parallel},
+ {group, all},
+ {group, all, [parallel]},
remove_listeners,
stop_services,
stop].
groups() ->
- Ts = testcases(),
- [{grp(P), P, Ts} || P <- [[], [parallel]]].
-
-grp([]) ->
- sequential;
-grp([parallel = P]) ->
- P.
+ [{all, [], lists:flatmap(fun tc/1, tc())}].
init_per_group(_Name, Config) ->
Config.
@@ -145,9 +139,6 @@ end_per_testcase(Name, Config) ->
ok = diameter:remove_transport(?CLIENT, CRef).
%% Testcases all come in two flavours, client and server.
-testcases() ->
- lists:flatmap(fun tc/1, tc()).
-
tc(Name) ->
[?A([C,$_|?L(Name)]) || C <- "cs"].