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

« back to all changes in this revision

Viewing changes to erts/emulator/test/receive_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 2010. All Rights Reserved.
 
4
%% Copyright Ericsson AB 2010-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
21
21
 
22
22
%% Tests receive after.
23
23
 
24
 
-include("test_server.hrl").
 
24
-include_lib("test_server/include/test_server.hrl").
25
25
 
26
 
-export([all/1,
 
26
-export([all/0, suite/0,groups/0,init_per_suite/1, end_per_suite/1, 
 
27
         init_per_group/2,end_per_group/2,
27
28
         call_with_huge_message_queue/1,receive_in_between/1]).
28
29
 
29
 
-export([init_per_testcase/2,fin_per_testcase/2]).
30
 
 
31
 
all(suite) ->
32
 
    [call_with_huge_message_queue,receive_in_between].
 
30
-export([init_per_testcase/2,end_per_testcase/2]).
 
31
 
 
32
suite() -> [{ct_hooks,[ts_install_cth]}].
 
33
 
 
34
all() -> 
 
35
    [call_with_huge_message_queue, receive_in_between].
 
36
 
 
37
groups() -> 
 
38
    [].
 
39
 
 
40
init_per_suite(Config) ->
 
41
    Config.
 
42
 
 
43
end_per_suite(_Config) ->
 
44
    ok.
 
45
 
 
46
init_per_group(_GroupName, Config) ->
 
47
    Config.
 
48
 
 
49
end_per_group(_GroupName, Config) ->
 
50
    Config.
 
51
 
33
52
 
34
53
init_per_testcase(Func, Config) when is_atom(Func), is_list(Config) ->
35
54
    Dog=?t:timetrap(?t:minutes(3)),
36
55
    [{watchdog, Dog}|Config].
37
56
 
38
 
fin_per_testcase(_Func, Config) ->
 
57
end_per_testcase(_Func, Config) ->
39
58
    Dog=?config(watchdog, Config),
40
59
    ?t:timetrap_cancel(Dog).
41
60