diff options
author | Peter Andersson <[email protected]> | 2011-11-30 19:46:29 +0100 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2011-11-30 19:46:29 +0100 |
commit | 68bf49c58de5d44e91f227d406a21b0669bae64d (patch) | |
tree | 7544e9aa3cc620be818202e47df70a1dca51e512 /lib/test_server/src | |
parent | 08ea3af8528ad0920021ecc230a66eb5ee59bc86 (diff) | |
download | otp-68bf49c58de5d44e91f227d406a21b0669bae64d.tar.gz otp-68bf49c58de5d44e91f227d406a21b0669bae64d.tar.bz2 otp-68bf49c58de5d44e91f227d406a21b0669bae64d.zip |
Get test case log file name reported to user
Diffstat (limited to 'lib/test_server/src')
-rw-r--r-- | lib/test_server/src/test_server_ctrl.erl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/test_server/src/test_server_ctrl.erl b/lib/test_server/src/test_server_ctrl.erl index 9fd0adbfc8..e4d541b435 100644 --- a/lib/test_server/src/test_server_ctrl.erl +++ b/lib/test_server/src/test_server_ctrl.erl @@ -3624,12 +3624,15 @@ run_test_case1(Ref, Num, Mod, Func, Args, RunInit, Where, host -> ok end, - test_server_sup:framework_call(report, [tc_start,{?pl2a(Mod),Func}]), print(major, "=case ~p:~p", [Mod, Func]), MinorName = start_minor_log_file(Mod, Func), print(minor, "<a name=\"top\"></a>", []), MinorBase = filename:basename(MinorName), print(major, "=logfile ~s", [filename:basename(MinorName)]), + + Args1 = [[{tc_logfile,MinorName} | proplists:delete(tc_logfile,hd(Args))]], + test_server_sup:framework_call(report, [tc_start,{{?pl2a(Mod),Func},MinorName}]), + print_props((RunInit==skip_init), get_props(Mode)), print(major, "=started ~s", [lists:flatten(timestamp_get(""))]), {{Col0,Col1},Style} = get_font_style((RunInit==run_init), Mode), @@ -3643,7 +3646,7 @@ run_test_case1(Ref, Num, Mod, Func, Args, RunInit, Where, do_if_parallel(Main, ok, fun erlang:yield/0), %% run the test case {Result,DetectedFail,ProcsBefore,ProcsAfter} = - run_test_case_apply(Num, Mod, Func, Args, get_name(Mode), + run_test_case_apply(Num, Mod, Func, Args1, get_name(Mode), RunInit, Where, TimetrapData), {Time,RetVal,Loc,Opts,Comment} = case Result of |