aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_logs.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2013-02-15 15:51:26 +0100
committerPeter Andersson <[email protected]>2013-02-15 15:51:26 +0100
commitcd1380fdf78018d1c49678cf985051f48e70f219 (patch)
tree1450d320f89d3659d434a55dca78f21db1bdd198 /lib/common_test/src/ct_logs.erl
parent26c702b122436ec8662fbedc80673421547cdb05 (diff)
downloadotp-cd1380fdf78018d1c49678cf985051f48e70f219.tar.gz
otp-cd1380fdf78018d1c49678cf985051f48e70f219.tar.bz2
otp-cd1380fdf78018d1c49678cf985051f48e70f219.zip
Solve problem with IO deadlock in ct_util_server
Diffstat (limited to 'lib/common_test/src/ct_logs.erl')
-rw-r--r--lib/common_test/src/ct_logs.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_logs.erl b/lib/common_test/src/ct_logs.erl
index 5924930072..be52be6bf3 100644
--- a/lib/common_test/src/ct_logs.erl
+++ b/lib/common_test/src/ct_logs.erl
@@ -397,9 +397,9 @@ tc_print(Category,Format,Args) ->
%%% <p>This function is called by <code>ct</code> when printing
%%% stuff from a testcase on the user console.</p>
tc_print(Category,Importance,Format,Args) ->
- VLvl = case ct_util:get_testdata({verbosity,Category}) of
+ VLvl = case ct_util:get_verbosity(Category) of
undefined ->
- ct_util:get_testdata({verbosity,'$unspecified'});
+ ct_util:get_verbosity('$unspecified');
{error,bad_invocation} ->
?MAX_VERBOSITY;
Val ->