aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2017-04-27 09:26:29 +0200
committerRaimo Niskanen <[email protected]>2017-04-27 09:26:29 +0200
commite6c1b7a5d40b07b0695315fd1fbd605ebfa0cf99 (patch)
tree2db88b12352b3e440e1c65db7c49d517e6411fd2 /lib/stdlib/test
parenta0035ca989610cfc5d4920d112700a102a3bda1f (diff)
parent220d5c905bb24538643866c6e605180e6a166acb (diff)
downloadotp-e6c1b7a5d40b07b0695315fd1fbd605ebfa0cf99.tar.gz
otp-e6c1b7a5d40b07b0695315fd1fbd605ebfa0cf99.tar.bz2
otp-e6c1b7a5d40b07b0695315fd1fbd605ebfa0cf99.zip
Merge branch 'rand/arbitrary_normal_distributions'
* rand/arbitrary_normal_distributions: Show test case progress
Diffstat (limited to 'lib/stdlib/test')
-rw-r--r--lib/stdlib/test/rand_SUITE.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/stdlib/test/rand_SUITE.erl b/lib/stdlib/test/rand_SUITE.erl
index c264a65521..2ccd89a59f 100644
--- a/lib/stdlib/test/rand_SUITE.erl
+++ b/lib/stdlib/test/rand_SUITE.erl
@@ -324,8 +324,9 @@ basic_stats_normal(Config) when is_list(Config) ->
ct:timetrap({minutes, 6 * length(IntendedMeanVariancePairs)}), %% valgrind needs a lot of time
lists:foreach(
fun ({IntendedMean, IntendedVariance}) ->
- io:format("Testing normal(~.2f, ~.2f)~n",
- [float(IntendedMean), float(IntendedVariance)]),
+ ct:pal(
+ "Testing normal(~.2f, ~.2f)~n",
+ [float(IntendedMean), float(IntendedVariance)]),
[basic_normal_1(?LOOP, IntendedMean, IntendedVariance,
rand:seed_s(Alg), 0, 0)
|| Alg <- algs()]