aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/src/test_server_ctrl.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2012-12-13 11:54:18 +0100
committerSiri Hansen <[email protected]>2012-12-13 11:54:18 +0100
commit808ec6e48837ea6f13eda9ab403cc3da220137c8 (patch)
tree7ad195fd912cb7827822a362797c355d9f783703 /lib/test_server/src/test_server_ctrl.erl
parent3f1db1cd7d1ba9cf77a10d767b2d82f2542e01a0 (diff)
downloadotp-808ec6e48837ea6f13eda9ab403cc3da220137c8.tar.gz
otp-808ec6e48837ea6f13eda9ab403cc3da220137c8.tar.bz2
otp-808ec6e48837ea6f13eda9ab403cc3da220137c8.zip
[test_server] Don't use print/3 in cross_cover_analyse
Cross cover analysis is executed outside the scope of test_server_ctrl, i.e. test_server_ctrl is not necessarily started. This may cause test_server_ctrl:print/3 to hang. Instead use io:fwrite directly (as it was before).
Diffstat (limited to 'lib/test_server/src/test_server_ctrl.erl')
-rw-r--r--lib/test_server/src/test_server_ctrl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test_server/src/test_server_ctrl.erl b/lib/test_server/src/test_server_ctrl.erl
index 10cba3fbd4..3508623dd9 100644
--- a/lib/test_server/src/test_server_ctrl.erl
+++ b/lib/test_server/src/test_server_ctrl.erl
@@ -5098,7 +5098,7 @@ cross_cover_analyse(Analyse, TagDirs0) ->
TagDirMods = add_cross_modules(TagMods,TagDirs),
CoverdataFiles = get_coverdata_files(TagDirMods),
lists:foreach(fun(CDF) -> cover:import(CDF) end, CoverdataFiles),
- print(stdout, "Cover analysing...\n", []),
+ io:fwrite("Cover analysing...\n", []),
DetailsFun =
case Analyse of
details ->