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

« back to all changes in this revision

Viewing changes to lib/jinterface/test/nc_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
19
19
-module(nc_SUITE).
20
20
 
21
21
 
22
 
-include("test_server.hrl").
 
22
-include_lib("common_test/include/ct.hrl").
23
23
-include("test_server_line.hrl").
24
24
 
25
25
 
26
 
-export([all/1,
 
26
-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2,
27
27
         init_per_suite/1,
28
28
         end_per_suite/1,
29
29
         init_per_testcase/2,
50
50
 
51
51
%% Top of cases
52
52
 
53
 
all(doc) -> [];
54
 
all(suite) -> [pid_roundtrip,
55
 
               port_roundtrip,
56
 
               ref_roundtrip,
57
 
               new_float,
58
 
               old_stuff,
59
 
               binary_roundtrip,
60
 
               decompress_roundtrip,
61
 
               compress_roundtrip,
62
 
               integer_roundtrip,
63
 
               fun_roundtrip,
64
 
               lists_roundtrip,
65
 
               lists_roundtrip_2,
66
 
               lists_iterator,
67
 
               unicode,
68
 
               unicode_list_to_string,
69
 
               unicode_string_to_list,
70
 
               connect].
71
 
 
72
 
 
73
 
 
 
53
suite() -> [{ct_hooks,[ts_install_cth]}].
 
54
 
 
55
all() -> 
 
56
    [pid_roundtrip, port_roundtrip, ref_roundtrip,
 
57
     new_float, old_stuff, binary_roundtrip,
 
58
     decompress_roundtrip, compress_roundtrip,
 
59
     integer_roundtrip, fun_roundtrip, lists_roundtrip,
 
60
     lists_roundtrip_2, lists_iterator, unicode,
 
61
     unicode_list_to_string, unicode_string_to_list, connect].
 
62
 
 
63
groups() -> 
 
64
    [].
 
65
 
 
66
init_per_group(_GroupName, Config) ->
 
67
    Config.
 
68
 
 
69
end_per_group(_GroupName, Config) ->
 
70
    Config.
74
71
 
75
72
init_per_suite(Config) when is_list(Config) ->
76
 
    jitu:init_all(Config).
 
73
    case case code:priv_dir(jinterface) of
 
74
             {error,bad_name} -> false;
 
75
             P -> filelib:is_dir(P) end of
 
76
        true ->
 
77
            jitu:init_all(Config);
 
78
        false ->
 
79
            {skip,"No jinterface application"}
 
80
    end.
77
81
 
78
82
end_per_suite(Config) ->
79
83
    jitu:finish_all(Config).