~clint-fewbar/ubuntu/precise/erlang/merge-15b

« back to all changes in this revision

Viewing changes to lib/kernel/test/pg2_SUITE.erl

  • Committer: Package Import Robot
  • Author(s): Sergei Golovan
  • Date: 2011-12-15 19:20:10 UTC
  • mfrom: (1.1.18) (3.5.15 sid)
  • mto: (3.5.16 sid)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20111215192010-jnxcfe3tbrpp0big
Tags: 1:15.b-dfsg-1
* New upstream release.
* Upload to experimental because this release breaks external drivers
  API along with ABI, so several applications are to be fixed.
* Removed SSL patch because the old SSL implementation is removed from
  the upstream distribution.
* Removed never used patch which added native code to erlang beam files.
* Removed the erlang-docbuilder binary package because the docbuilder
  application was dropped by upstream.
* Documented dropping ${erlang-docbuilder:Depends} substvar in
  erlang-depends(1) manpage.
* Made erlang-base and erlang-base-hipe provide virtual package
  erlang-abi-15.b (the number means the first erlang version, which
  provides current ABI).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
%%
2
2
%% %CopyrightBegin%
3
3
%%
4
 
%% Copyright Ericsson AB 2008-2010. All Rights Reserved.
 
4
%% Copyright Ericsson AB 2008-2011. All Rights Reserved.
5
5
%%
6
6
%% The contents of this file are subject to the Erlang Public License,
7
7
%% Version 1.1, (the "License"); you may not use this file except in
20
20
%%-----------------------------------------------------------------
21
21
-module(pg2_SUITE).
22
22
 
23
 
-include("test_server.hrl").
 
23
-include_lib("test_server/include/test_server.hrl").
24
24
-define(datadir, ?config(data_dir, Config)).
25
25
-define(privdir, ?config(priv_dir, Config)).
26
26
 
27
 
-export([all/1, init_per_testcase/2, fin_per_testcase/2]).
 
27
-export([all/0, suite/0,groups/0,init_per_suite/1, end_per_suite/1, 
 
28
         init_per_group/2,end_per_group/2, 
 
29
         init_per_testcase/2, end_per_testcase/2]).
28
30
 
29
 
-export([tickets/1,
30
 
             otp_7277/1, otp_8259/1, otp_8653/1,
 
31
-export([
 
32
         otp_7277/1, otp_8259/1, otp_8653/1,
31
33
         compat/1, basic/1]).
32
34
 
33
35
% Default timetrap timeout (set in init_per_testcase).
44
46
    ?line Dog = ?t:timetrap(?default_timeout),
45
47
    [{?TESTCASE, Case}, {watchdog, Dog} | Config].
46
48
 
47
 
fin_per_testcase(_Case, _Config) ->
 
49
end_per_testcase(_Case, _Config) ->
 
50
    test_server_ctrl:kill_slavenodes(),
48
51
    Dog = ?config(watchdog, _Config),
49
52
    test_server:timetrap_cancel(Dog),
50
53
    ok.
51
54
 
52
 
all(suite) ->
53
 
    [tickets].
54
 
 
55
 
tickets(suite) ->
56
 
    [otp_7277, otp_8259, otp_8653, compat, basic].
 
55
suite() -> [{ct_hooks,[ts_install_cth]}].
 
56
 
 
57
all() -> 
 
58
    [{group, tickets}].
 
59
 
 
60
groups() -> 
 
61
    [{tickets, [],
 
62
      [otp_7277, otp_8259, otp_8653, compat, basic]}].
 
63
 
 
64
init_per_suite(Config) ->
 
65
    Config.
 
66
 
 
67
end_per_suite(_Config) ->
 
68
    ok.
 
69
 
 
70
init_per_group(_GroupName, Config) ->
 
71
    Config.
 
72
 
 
73
end_per_group(_GroupName, Config) ->
 
74
    Config.
 
75
 
 
76
 
57
77
 
58
78
otp_7277(doc) ->
59
79
    "OTP-7277. Bugfix leave().";