aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2011-11-30 19:46:29 +0100
committerPeter Andersson <[email protected]>2011-11-30 19:46:29 +0100
commit68bf49c58de5d44e91f227d406a21b0669bae64d (patch)
tree7544e9aa3cc620be818202e47df70a1dca51e512 /lib/common_test
parent08ea3af8528ad0920021ecc230a66eb5ee59bc86 (diff)
downloadotp-68bf49c58de5d44e91f227d406a21b0669bae64d.tar.gz
otp-68bf49c58de5d44e91f227d406a21b0669bae64d.tar.bz2
otp-68bf49c58de5d44e91f227d406a21b0669bae64d.zip
Get test case log file name reported to user
Diffstat (limited to 'lib/common_test')
-rw-r--r--lib/common_test/src/ct_framework.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/common_test/src/ct_framework.erl b/lib/common_test/src/ct_framework.erl
index 0897675591..ee0162c5e3 100644
--- a/lib/common_test/src/ct_framework.erl
+++ b/lib/common_test/src/ct_framework.erl
@@ -1274,6 +1274,10 @@ report(What,Data) ->
tests_done ->
ok;
tc_start ->
+ %% Data = {{Suite,Func},LogFileName}
+ ct_event:sync_notify(#event{name=tc_logfile,
+ node=node(),
+ data=Data}),
ok;
tc_done ->
{_Suite,Case,Result} = Data,