diff options
author | Björn-Egil Dahlberg <[email protected]> | 2017-01-17 16:06:55 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2017-01-17 16:06:55 +0100 |
commit | e528e53cc7bb35896d3404bb5cec5619fd21cc10 (patch) | |
tree | 847269b6129a5670a2d99eec600b3153af1aef0f /lib/stdlib/test | |
parent | b8c29d61253ee75515a11da6fc349fb9933d03c3 (diff) | |
parent | 6927f85ed386ea3c0f43bd042ea4c917103d76a2 (diff) | |
download | otp-e528e53cc7bb35896d3404bb5cec5619fd21cc10.tar.gz otp-e528e53cc7bb35896d3404bb5cec5619fd21cc10.tar.bz2 otp-e528e53cc7bb35896d3404bb5cec5619fd21cc10.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/stdlib/test')
-rw-r--r-- | lib/stdlib/test/rand_SUITE.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stdlib/test/rand_SUITE.erl b/lib/stdlib/test/rand_SUITE.erl index 8e7ac223a7..fe5eaccda5 100644 --- a/lib/stdlib/test/rand_SUITE.erl +++ b/lib/stdlib/test/rand_SUITE.erl @@ -283,13 +283,13 @@ gen(_, _, Acc) -> lists:reverse(Acc). %% Check that the algorithms generate sound values. basic_stats_uniform_1(Config) when is_list(Config) -> - ct:timetrap({minutes,6}), %% valgrind needs a lot of time + ct:timetrap({minutes,15}), %% valgrind needs a lot of time [basic_uniform_1(?LOOP, rand:seed_s(Alg), 0.0, array:new([{default, 0}])) || Alg <- algs()], ok. basic_stats_uniform_2(Config) when is_list(Config) -> - ct:timetrap({minutes,6}), %% valgrind needs a lot of time + ct:timetrap({minutes,15}), %% valgrind needs a lot of time [basic_uniform_2(?LOOP, rand:seed_s(Alg), 0, array:new([{default, 0}])) || Alg <- algs()], ok. @@ -396,7 +396,7 @@ crypto_uniform_n(N, State0) -> %% Not a test but measures the time characteristics of the different algorithms measure(Suite) when is_atom(Suite) -> []; measure(_Config) -> - ct:timetrap({minutes,6}), %% valgrind needs a lot of time + ct:timetrap({minutes,15}), %% valgrind needs a lot of time Algos = [crypto64|algs()], io:format("RNG uniform integer performance~n",[]), _ = measure_1(random, fun(State) -> {int, random:uniform_s(10000, State)} end), |