aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2011-12-07 16:03:41 +0100
committerPeter Andersson <[email protected]>2011-12-07 16:04:25 +0100
commitaa5a1a246140855fd498ba9098e4a10272b6b391 (patch)
tree688d2a26e0eb41b94e2c818313a39661ff9c9c56 /lib/common_test
parentffcee281f6d804bc4370ed2ab6671dc234cb5e92 (diff)
parent68bf49c58de5d44e91f227d406a21b0669bae64d (diff)
downloadotp-aa5a1a246140855fd498ba9098e4a10272b6b391.tar.gz
otp-aa5a1a246140855fd498ba9098e4a10272b6b391.tar.bz2
otp-aa5a1a246140855fd498ba9098e4a10272b6b391.zip
Merge remote branch 'origin/peppe/common_test/report_logfile'
* origin/peppe/common_test/report_logfile: Get test case log file name reported to user OTP-9676
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,