aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-01-14 15:41:16 +0100
committerLukas Larsson <[email protected]>2011-01-24 10:45:15 +0100
commit241a3f7d0a85c4bbc69cf4ee3e40016610647bbf (patch)
tree4e9d23b7029c9c909d54d587d460ca5b4facc987 /lib
parent30245f345d7427cbbf0042f840f38f8c46cd2f51 (diff)
downloadotp-241a3f7d0a85c4bbc69cf4ee3e40016610647bbf.tar.gz
otp-241a3f7d0a85c4bbc69cf4ee3e40016610647bbf.tar.bz2
otp-241a3f7d0a85c4bbc69cf4ee3e40016610647bbf.zip
Update so that cover is skipper for applications without a .cover file
Diffstat (limited to 'lib')
-rw-r--r--lib/test_server/src/ts_run.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/test_server/src/ts_run.erl b/lib/test_server/src/ts_run.erl
index 68d731925f..d1e0e2e99c 100644
--- a/lib/test_server/src/ts_run.erl
+++ b/lib/test_server/src/ts_run.erl
@@ -616,6 +616,9 @@ make_common_test_args(Args0, Options, _Vars) ->
end,
Cover =
case lists:keysearch(cover,1,Options) of
+ {value,{cover, App, none, _Analyse}} ->
+ io:format("No cover file found for ~p~n",[App]),
+ [];
{value,{cover,_App,File,_Analyse}} ->
[{cover,to_list(File)}];
false ->