aboutsummaryrefslogtreecommitdiffstats
path: root/lib/runtime_tools
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-01-28 08:26:48 +0100
committerBjörn Gustavsson <[email protected]>2012-02-06 15:13:21 +0100
commite8d7489adc8c39ecd6255dc160d7e545cb076de3 (patch)
treeca0310499370451b52530d8b17d1ebc08514e76a /lib/runtime_tools
parentd2e689269a0c542ad1f2bc556629e0801a21c9f1 (diff)
downloadotp-e8d7489adc8c39ecd6255dc160d7e545cb076de3.tar.gz
otp-e8d7489adc8c39ecd6255dc160d7e545cb076de3.tar.bz2
otp-e8d7489adc8c39ecd6255dc160d7e545cb076de3.zip
Skip all inviso test cases if libraries are native-compiled
Diffstat (limited to 'lib/runtime_tools')
-rw-r--r--lib/runtime_tools/test/inviso_SUITE.erl17
1 files changed, 11 insertions, 6 deletions
diff --git a/lib/runtime_tools/test/inviso_SUITE.erl b/lib/runtime_tools/test/inviso_SUITE.erl
index 758867cf45..33626ffd9e 100644
--- a/lib/runtime_tools/test/inviso_SUITE.erl
+++ b/lib/runtime_tools/test/inviso_SUITE.erl
@@ -66,13 +66,18 @@ end_per_group(_GroupName, Config) ->
init_per_suite(Config) ->
- %% No never know who skrewed up this node before this suite! :-)
- erlang:trace_pattern({'_','_','_'},[],[local]),
- erlang:trace_pattern({'_','_','_'},[],[global]),
- erlang:trace(all,false,[all]),
+ case test_server:is_native(lists) of
+ true ->
+ {skip,"Native libs -- tracing doesn't work"};
+ false ->
+ %% We never know who messed up this node before this suite! :-)
+ erlang:trace_pattern({'_','_','_'},[],[local]),
+ erlang:trace_pattern({'_','_','_'},[],[global]),
+ erlang:trace(all,false,[all]),
- ?l ok=application:start(runtime_tools),
- Config.
+ ok=application:start(runtime_tools),
+ Config
+ end.
end_per_suite(_Config) ->
?l ok=application:stop(runtime_tools).