aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2018-10-03 15:14:43 +0200
committerRaimo Niskanen <[email protected]>2018-10-03 15:14:43 +0200
commit58acbbbb3dcbce60eb63b47c9c84fbce1f97e0b8 (patch)
treecdcc9e48589307ad315fcf86b72035572b0eb38d /lib/stdlib/test
parent5ecd1c97c033bfa26c38425269ca1146a002a2b6 (diff)
parent18a742fa6d52999d0ba415330ba2168caaeb1256 (diff)
downloadotp-58acbbbb3dcbce60eb63b47c9c84fbce1f97e0b8.tar.gz
otp-58acbbbb3dcbce60eb63b47c9c84fbce1f97e0b8.tar.bz2
otp-58acbbbb3dcbce60eb63b47c9c84fbce1f97e0b8.zip
Merge branch 'maint'
Diffstat (limited to 'lib/stdlib/test')
-rw-r--r--lib/stdlib/test/rand_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stdlib/test/rand_SUITE.erl b/lib/stdlib/test/rand_SUITE.erl
index 4cb1c0b13d..6c9fab51dc 100644
--- a/lib/stdlib/test/rand_SUITE.erl
+++ b/lib/stdlib/test/rand_SUITE.erl
@@ -471,10 +471,11 @@ stats_standard_normal_box_muller_2(Config) when is_list(Config) ->
stats_standard_normal(Config) when is_list(Config) ->
+ Retries = 7,
try math:erfc(1.0) of
_ ->
stats_standard_normal(
- fun rand:normal_s/1, rand:seed_s(exrop), 3)
+ fun rand:normal_s/1, rand:seed_s(exrop), Retries)
catch error:_ ->
{skip, "math:erfc/1 not supported"}
end.