summaryrefslogtreecommitdiff
path: root/lib/tools/test/cover_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tools/test/cover_SUITE.erl')
-rw-r--r--lib/tools/test/cover_SUITE.erl13
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/tools/test/cover_SUITE.erl b/lib/tools/test/cover_SUITE.erl
index 462767f430..0de73bc3d7 100644
--- a/lib/tools/test/cover_SUITE.erl
+++ b/lib/tools/test/cover_SUITE.erl
@@ -37,7 +37,7 @@ all() ->
dont_reconnect_after_stop, stop_node_after_disconnect,
export_import, otp_5031, otp_6115,
otp_8270, otp_10979_hanging_node, otp_14817,
- local_only, startup_race],
+ local_only, startup_race, otp_16476],
case whereis(cover_server) of
undefined ->
[coverage,StartStop ++ NoStartStop];
@@ -1803,6 +1803,17 @@ startup_race_1([]) ->
cover:stop(),
ok.
+otp_16476(Config) when is_list(Config) ->
+ Mod = obvious_booleans,
+ Dir = filename:join(proplists:get_value(data_dir, Config),
+ ?FUNCTION_NAME),
+ ok = file:set_cwd(Dir),
+ {ok, Mod} = compile:file(Mod, [debug_info]),
+ {ok, Mod} = cover:compile(Mod),
+ ok = Mod:Mod(),
+ ok = cover:stop(),
+ ok.
+
%%--Auxiliary------------------------------------------------------------
analyse_expr(Expr, Config) ->