aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-01-28 08:12:33 +0100
committerBjörn Gustavsson <[email protected]>2012-02-06 15:13:20 +0100
commitd2e689269a0c542ad1f2bc556629e0801a21c9f1 (patch)
treebe626baa26e05d5befdcd0f6ba91e73499b5907b /lib
parent38dd105b670a5957191dca098a10aa0bddd3bf16 (diff)
downloadotp-d2e689269a0c542ad1f2bc556629e0801a21c9f1.tar.gz
otp-d2e689269a0c542ad1f2bc556629e0801a21c9f1.tar.bz2
otp-d2e689269a0c542ad1f2bc556629e0801a21c9f1.zip
erl_prim_loader_SUITE: Handle native-compiled erl_boot_server
Since tracing is not supported on native-compiled modules and the inet_disconnects/1 test case depends on tracing, skip the test case if erl_boot_server is native.
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/test/erl_prim_loader_SUITE.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kernel/test/erl_prim_loader_SUITE.erl b/lib/kernel/test/erl_prim_loader_SUITE.erl
index 7599a89779..d0d52c5ea7 100644
--- a/lib/kernel/test/erl_prim_loader_SUITE.erl
+++ b/lib/kernel/test/erl_prim_loader_SUITE.erl
@@ -175,10 +175,10 @@ wait_really_started(Node, N) ->
inet_disconnects(doc) -> ["Start a node using the 'inet' loading method, ",
"then lose the connection."];
inet_disconnects(Config) when is_list(Config) ->
- case os:type() of
- vxworks ->
- {comment, "VxWorks: tested separately"};
- _ ->
+ case test_server:is_native(erl_boot_server) of
+ true ->
+ {skip,"erl_boot_server is native"};
+ false ->
?line Name = erl_prim_test_inet_disconnects,
?line Host = host(),
?line Cookie = atom_to_list(erlang:get_cookie()),