diff options
author | Sverker Eriksson <[email protected]> | 2018-09-18 14:41:02 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-09-18 14:41:02 +0200 |
commit | be712f872f27d2d2b835062f7aa4a74414702bd9 (patch) | |
tree | f06b0efe63c043642edf09af92a7be7c6e90c1a6 /lib/stdlib | |
parent | 716d9c2256ddbba2417fd39053a891b870c43472 (diff) | |
parent | 990c25dc1265c0450ecb47ca73116ccb72a246c8 (diff) | |
download | otp-be712f872f27d2d2b835062f7aa4a74414702bd9.tar.gz otp-be712f872f27d2d2b835062f7aa4a74414702bd9.tar.bz2 otp-be712f872f27d2d2b835062f7aa4a74414702bd9.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/stdlib')
-rw-r--r-- | lib/stdlib/test/supervisor_SUITE.erl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/stdlib/test/supervisor_SUITE.erl b/lib/stdlib/test/supervisor_SUITE.erl index ed7dd04171..9370067910 100644 --- a/lib/stdlib/test/supervisor_SUITE.erl +++ b/lib/stdlib/test/supervisor_SUITE.erl @@ -2339,6 +2339,13 @@ order_of_children(_Config) -> %% Test that a non-simple supervisor scales well for starting and %% stopping many children. scale_start_stop_many_children(_Config) -> + case erlang:system_info(build_type) of + opt -> scale_start_stop_many_children(); + Other -> {skip,"Run on build type 'opt' only (current: '" ++ + atom_to_list(Other)++"')"} + end. + +scale_start_stop_many_children() -> process_flag(trap_exit, true), {ok, _Pid} = start_link({ok, {{one_for_one, 2, 3600}, []}}), N1 = 1000, |