aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/test
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2012-11-02 15:22:59 +0100
committerLukas Larsson <[email protected]>2012-11-02 15:22:59 +0100
commit2fac860004a2eece19c62053b3c0fd5210ca7051 (patch)
tree1abdd2c481ee4db7d7ace99746c4f32a57338ea6 /lib/inets/test
parent985f2a9aa2460e648981bb4538eb446202d25d9d (diff)
parent045319da07722f1dd01af8c07dc1bcc196ffb137 (diff)
downloadotp-2fac860004a2eece19c62053b3c0fd5210ca7051.tar.gz
otp-2fac860004a2eece19c62053b3c0fd5210ca7051.tar.bz2
otp-2fac860004a2eece19c62053b3c0fd5210ca7051.zip
Merge branch 'maint'
* maint: Skip ct_netconf tests if there is no crypto Migrate timers from test_server to ct interface Update tests to run with an oldshell emulator Move crypto check so that tc is skipped and not failed Update for new version of ppc compilation chain Verify that ebin folder of applications exists Conflicts: lib/asn1/test/asn1_SUITE.erl lib/kernel/test/interactive_shell_SUITE.erl
Diffstat (limited to 'lib/inets/test')
-rw-r--r--lib/inets/test/inets_app_test.erl16
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/inets/test/inets_app_test.erl b/lib/inets/test/inets_app_test.erl
index db2218f3b6..d32f7e290b 100644
--- a/lib/inets/test/inets_app_test.erl
+++ b/lib/inets/test/inets_app_test.erl
@@ -35,6 +35,15 @@
init_per_testcase(undef_funcs, Config) ->
NewConfig = lists:keydelete(watchdog, 1, Config),
Dog = test_server:timetrap(inets_test_lib:minutes(10)),
+
+ %% We need to check if there is a point to run this test.
+ %% On some platforms, crypto will not build, which in turn
+ %% causes ssl to not build (at this time, this will
+ %% change in the future).
+ %% So, we first check if we can start crypto, and if not,
+ %% we skip this test case!
+ ?ENSURE_STARTED(crypto),
+
[{watchdog, Dog}| NewConfig];
init_per_testcase(_, Config) ->
Config.
@@ -240,13 +249,6 @@ undef_funcs(suite) ->
undef_funcs(doc) ->
[];
undef_funcs(Config) when is_list(Config) ->
- %% We need to check if there is a point to run this test.
- %% On some platforms, crypto will not build, which in turn
- %% causes ssl to not build (at this time, this will
- %% change in the future).
- %% So, we first check if we can start crypto, and if not,
- %% we skip this test case!
- ?ENSURE_STARTED(crypto),
App = inets,
AppFile = key1search(app_file, Config),
Mods = key1search(modules, AppFile),