aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2017-04-27 09:24:25 +0200
committerRaimo Niskanen <[email protected]>2017-04-27 09:24:25 +0200
commit220d5c905bb24538643866c6e605180e6a166acb (patch)
tree31058ba38400d9ec08bd7b5e4511745931b6e9fa /lib/stdlib
parentdff85f3d6fdb4b3453d863bf9208073564a9fcf2 (diff)
downloadotp-220d5c905bb24538643866c6e605180e6a166acb.tar.gz
otp-220d5c905bb24538643866c6e605180e6a166acb.tar.bz2
otp-220d5c905bb24538643866c6e605180e6a166acb.zip
Show test case progress
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/test/rand_SUITE.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/stdlib/test/rand_SUITE.erl b/lib/stdlib/test/rand_SUITE.erl
index cb97d27992..19553d0cf2 100644
--- a/lib/stdlib/test/rand_SUITE.erl
+++ b/lib/stdlib/test/rand_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2000-2016. All Rights Reserved.
+%% Copyright Ericsson AB 2000-2017. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -317,8 +317,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()]