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

« back to all changes in this revision

Viewing changes to lib/common_test/test/ct_skip_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 2009-2010. All Rights Reserved.
 
4
%% Copyright Ericsson AB 2009-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
29
29
 
30
30
-compile(export_all).
31
31
 
32
 
-include_lib("test_server/include/test_server.hrl").
 
32
-include_lib("common_test/include/ct.hrl").
33
33
-include_lib("common_test/include/ct_event.hrl").
34
34
 
35
35
-define(eh, ct_test_support_eh).
56
56
end_per_testcase(TestCase, Config) ->
57
57
    ct_test_support:end_per_testcase(TestCase, Config).
58
58
 
59
 
all(doc) -> 
60
 
    [""];
61
 
 
62
 
all(suite) -> 
63
 
    [
64
 
     auto_skip,
65
 
     user_skip
66
 
    ].
 
59
suite() -> [{ct_hooks,[ts_install_cth]}].
 
60
 
 
61
all() -> 
 
62
    [auto_skip, user_skip].
 
63
 
 
64
groups() -> 
 
65
    [].
 
66
 
 
67
init_per_group(_GroupName, Config) ->
 
68
        Config.
 
69
 
 
70
end_per_group(_GroupName, Config) ->
 
71
        Config.
 
72
 
67
73
     
68
74
 
69
75
%%--------------------------------------------------------------------
93
99
    Events = ct_test_support:get_events(ERPid, Config),
94
100
 
95
101
    ct_test_support:log_events(auto_skip, 
96
 
                               reformat(Events, ?eh), 
97
 
                               ?config(priv_dir, Config)),
 
102
                               reformat(Events, ?eh),
 
103
                               ?config(priv_dir, Config),
 
104
                               Opts),
98
105
 
99
106
    TestEvents = events_to_check(auto_skip),
100
107
    ok = ct_test_support:verify_events(TestEvents, Events, Config).
116
123
    Events = ct_test_support:get_events(ERPid, Config),
117
124
 
118
125
    ct_test_support:log_events(user_skip, 
119
 
                               reformat(Events, ?eh), 
120
 
                               ?config(priv_dir, Config)),
 
126
                               reformat(Events, ?eh),
 
127
                               ?config(priv_dir, Config),
 
128
                               Opts),
121
129
 
122
130
    TestEvents = events_to_check(user_skip),
123
131
    ok = ct_test_support:verify_events(TestEvents, Events, Config).
189
197
     {?eh,tc_done,
190
198
      {auto_skip_3_SUITE,tc1,
191
199
       {skipped,{failed,{auto_skip_3_SUITE,init_per_testcase,
192
 
                         {init_per_testcase,tc1,failed}}}}}},
 
200
                         {{init_per_testcase,tc1,failed},'_'}}}}}},
193
201
     {?eh,test_stats,{0,0,{0,4}}},
194
202
     {?eh,tc_start,{auto_skip_3_SUITE,tc2}},
195
203
     {?eh,tc_done,{auto_skip_3_SUITE,tc2,ok}},
356
364
         {?eh,tc_done,
357
365
          {auto_skip_9_SUITE,tc8,
358
366
           {skipped,{failed,{auto_skip_9_SUITE,init_per_testcase,
359
 
                             {{badmatch,undefined},
360
 
                              [{auto_skip_9_SUITE,init_per_testcase,2},
361
 
                               {test_server,my_apply,3},
362
 
                               {test_server,init_per_testcase,3},
363
 
                               {test_server,run_test_case_eval1,6},
364
 
                               {test_server,run_test_case_eval,8}]}}}}}},
 
367
                             {{badmatch,undefined},'_'}}}}}},
365
368
         {?eh,tc_start,
366
369
          {auto_skip_9_SUITE,{end_per_group,g5,[parallel]}}},
367
370
         {?eh,tc_done,