aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/src/test_server.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2015-03-18 11:02:15 +0100
committerPeter Andersson <[email protected]>2015-03-18 11:02:15 +0100
commitccf75f6d855b02e2241223c65ee924562686ac49 (patch)
tree760d5e16707a7a27b475c5e644e98b2ad3e4f584 /lib/test_server/src/test_server.erl
parent75c65bd7f4892f308657fdca9f3add79d0c05783 (diff)
parent7899e5e923bfb3c124f1c900cb57c4b4f0e59447 (diff)
downloadotp-ccf75f6d855b02e2241223c65ee924562686ac49.tar.gz
otp-ccf75f6d855b02e2241223c65ee924562686ac49.tar.bz2
otp-ccf75f6d855b02e2241223c65ee924562686ac49.zip
Merge remote-tracking branch 'origin/peppe/common_test/tc_log_format' into maint
* origin/peppe/common_test/tc_log_format: Modify the top section of the test case log file OTP-12518
Diffstat (limited to 'lib/test_server/src/test_server.erl')
-rw-r--r--lib/test_server/src/test_server.erl13
1 files changed, 2 insertions, 11 deletions
diff --git a/lib/test_server/src/test_server.erl b/lib/test_server/src/test_server.erl
index f1592d9442..1011791899 100644
--- a/lib/test_server/src/test_server.erl
+++ b/lib/test_server/src/test_server.erl
@@ -446,15 +446,6 @@ run_test_case_apply({CaseNum,Mod,Func,Args,Name,
}).
run_test_case_apply(Mod, Func, Args, Name, RunInit, TimetrapData) ->
- {ok,Cwd} = file:get_cwd(),
- Args2Print = case Args of
- [Args1] when is_list(Args1) ->
- lists:keydelete(tc_group_result, 1, Args1);
- _ ->
- Args
- end,
- print(minor, "Test case started with:\n~w:~w(~tp)\n", [Mod,Func,Args2Print]),
- print(minor, "Current directory is ~tp\n", [Cwd]),
print_timestamp(minor,"Started at "),
print(minor, "", [], internal_raw),
TCCallback = get(test_server_testcase_callback),
@@ -1400,8 +1391,8 @@ fw_error_notify(Mod, Func, Args, Error, Loc) ->
%% Just like io:format, except that depending on the Detail value, the output
%% is directed to console, major and/or minor log files.
-print(Detail,Format,Args) ->
- test_server_ctrl:print(Detail, Format, Args).
+%% print(Detail,Format,Args) ->
+%% test_server_ctrl:print(Detail, Format, Args).
print(Detail,Format,Args,Printer) ->
test_server_ctrl:print(Detail, Format, Args, Printer).