aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/test/lcnt_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tools/test/lcnt_SUITE.erl')
-rw-r--r--lib/tools/test/lcnt_SUITE.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/tools/test/lcnt_SUITE.erl b/lib/tools/test/lcnt_SUITE.erl
index 2e48b11740..a7da4b1844 100644
--- a/lib/tools/test/lcnt_SUITE.erl
+++ b/lib/tools/test/lcnt_SUITE.erl
@@ -151,10 +151,9 @@ t_swap_keys_file([File|Files]) ->
%% Simple smoke test of actual lock-counting, if running on
%% a run-time with lock-counting enabled.
-
smoke_lcnt(Config) ->
- case erlang:system_info(build_type) of
- lcnt ->
+ case catch erlang:system_info(lock_counting) of
+ true ->
do_smoke_lcnt(Config);
_ ->
{skip,"Lock counting is not enabled"}