diff options
author | John Högberg <[email protected]> | 2017-05-23 18:01:43 +0200 |
---|---|---|
committer | John Högberg <[email protected]> | 2017-07-06 12:29:36 +0200 |
commit | 392341efcebca6c41d4f88eb3f5731fe46473af7 (patch) | |
tree | 33da69b661725953f2e35c9f816b1c31544c36cb /lib | |
parent | 9f0e2acbdc7105f02a8cac2aa11cf9259dca34ae (diff) | |
download | otp-392341efcebca6c41d4f88eb3f5731fe46473af7.tar.gz otp-392341efcebca6c41d4f88eb3f5731fe46473af7.tar.bz2 otp-392341efcebca6c41d4f88eb3f5731fe46473af7.zip |
Enable lcnt smoke test on all builds that have lcnt enabled
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tools/test/lcnt_SUITE.erl | 5 |
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"} |