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

« back to all changes in this revision

Viewing changes to lib/compiler/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 2004-2010. All Rights Reserved.
 
4
%% Copyright Ericsson AB 2004-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(receive_SUITE).
22
22
 
23
 
-export([all/1,init_per_testcase/2,fin_per_testcase/2,
24
 
         recv/1,coverage/1,otp_7980/1,ref_opt/1,export/1]).
 
23
-export([all/0, suite/0,groups/0,init_per_suite/1, end_per_suite/1, 
 
24
         init_per_group/2,end_per_group/2,
 
25
         init_per_testcase/2,end_per_testcase/2,
 
26
         export/1,recv/1,coverage/1,otp_7980/1,ref_opt/1]).
25
27
 
26
 
-include("test_server.hrl").
 
28
-include_lib("test_server/include/test_server.hrl").
27
29
 
28
30
init_per_testcase(_Case, Config) ->
29
31
    ?line Dog = test_server:timetrap(test_server:minutes(2)),
30
32
    [{watchdog, Dog}|Config].
31
33
 
32
 
fin_per_testcase(_Case, Config) ->
 
34
end_per_testcase(_Case, Config) ->
33
35
    Dog=?config(watchdog, Config),
34
36
    test_server:timetrap_cancel(Dog),
35
37
    ok.
36
38
 
37
 
all(suite) ->
 
39
suite() -> [{ct_hooks,[ts_install_cth]}].
 
40
 
 
41
all() -> 
38
42
    test_lib:recompile(?MODULE),
39
 
    [recv,coverage,otp_7980,ref_opt,export].
 
43
    [recv, coverage, otp_7980, ref_opt, export].
 
44
 
 
45
groups() -> 
 
46
    [].
 
47
 
 
48
init_per_suite(Config) ->
 
49
    Config.
 
50
 
 
51
end_per_suite(_Config) ->
 
52
    ok.
 
53
 
 
54
init_per_group(_GroupName, Config) ->
 
55
    Config.
 
56
 
 
57
end_per_group(_GroupName, Config) ->
 
58
    Config.
40
59
 
41
60
-record(state, {ena = true}).
42
61