aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2012-10-12 16:23:46 +0200
committerSiri Hansen <[email protected]>2012-10-30 11:18:40 +0100
commitfa43ac879358e52dd8143f85aa467857635573d5 (patch)
treeb7378ca51fe9be0625e461f528c1c0e33867004b /lib/stdlib/test
parent747775d07dc889af675771cb19b9f16e6a44205c (diff)
downloadotp-fa43ac879358e52dd8143f85aa467857635573d5.tar.gz
otp-fa43ac879358e52dd8143f85aa467857635573d5.tar.bz2
otp-fa43ac879358e52dd8143f85aa467857635573d5.zip
Skip epp_SUITE:otp_8911 if cover is running
This is because this test case itself starts and stops cover.
Diffstat (limited to 'lib/stdlib/test')
-rw-r--r--lib/stdlib/test/epp_SUITE.erl9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/stdlib/test/epp_SUITE.erl b/lib/stdlib/test/epp_SUITE.erl
index f79414db49..77c615d6d9 100644
--- a/lib/stdlib/test/epp_SUITE.erl
+++ b/lib/stdlib/test/epp_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1998-2011. All Rights Reserved.
+%% Copyright Ericsson AB 1998-2012. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -1236,6 +1236,13 @@ otp_8911(doc) ->
otp_8911(suite) ->
[];
otp_8911(Config) when is_list(Config) ->
+ case test_server:is_cover() of
+ true ->
+ {skip, "Testing cover, so can not run when cover is already running"};
+ false ->
+ do_otp_8911(Config)
+ end.
+do_otp_8911(Config) ->
?line {ok, CWD} = file:get_cwd(),
?line ok = file:set_cwd(?config(priv_dir, Config)),