aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/dirty_bif_SUITE.erl
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-01-12 14:25:30 +0100
committerRickard Green <[email protected]>2017-01-17 12:23:19 +0100
commitfd1fb9070333fe5b91f4528841a4b0fe71bbf096 (patch)
treea747557f91df495d9f63657da62f3a666777ea14 /erts/emulator/test/dirty_bif_SUITE.erl
parentbc2dd09390cb6876470093f1754db22ceb53d370 (diff)
downloadotp-fd1fb9070333fe5b91f4528841a4b0fe71bbf096.tar.gz
otp-fd1fb9070333fe5b91f4528841a4b0fe71bbf096.tar.bz2
otp-fd1fb9070333fe5b91f4528841a4b0fe71bbf096.zip
Always return info from system_info(dirty_[cpu|io]_schedulers*)
Diffstat (limited to 'erts/emulator/test/dirty_bif_SUITE.erl')
-rw-r--r--erts/emulator/test/dirty_bif_SUITE.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/test/dirty_bif_SUITE.erl b/erts/emulator/test/dirty_bif_SUITE.erl
index 01ff8d6efd..308323594d 100644
--- a/erts/emulator/test/dirty_bif_SUITE.erl
+++ b/erts/emulator/test/dirty_bif_SUITE.erl
@@ -67,10 +67,10 @@ all() ->
code_purge].
init_per_suite(Config) ->
- try erlang:system_info(dirty_cpu_schedulers) of
- N when is_integer(N), N > 0 ->
- Config
- catch _:_ ->
+ case erlang:system_info(dirty_cpu_schedulers) of
+ N when N > 0 ->
+ Config;
+ _ ->
{skipped, "No dirty scheduler support"}
end.