aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/src/test_server_ctrl.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2013-04-19 14:57:06 +0200
committerPeter Andersson <[email protected]>2013-04-19 14:57:06 +0200
commit59584feb6fdd8c94b2ea699402812d7edb61b630 (patch)
tree2ffe06ac0296f2582e621935825f75503643b470 /lib/test_server/src/test_server_ctrl.erl
parentabf2f3c8042becaec9ff2eceb95ac54d95216b54 (diff)
downloadotp-59584feb6fdd8c94b2ea699402812d7edb61b630.tar.gz
otp-59584feb6fdd8c94b2ea699402812d7edb61b630.tar.bz2
otp-59584feb6fdd8c94b2ea699402812d7edb61b630.zip
Make test_server close log files properly and include correct footer
OTP-11046
Diffstat (limited to 'lib/test_server/src/test_server_ctrl.erl')
-rw-r--r--lib/test_server/src/test_server_ctrl.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/test_server/src/test_server_ctrl.erl b/lib/test_server/src/test_server_ctrl.erl
index 21c10adccb..ffa21d054c 100644
--- a/lib/test_server/src/test_server_ctrl.erl
+++ b/lib/test_server/src/test_server_ctrl.erl
@@ -1183,7 +1183,7 @@ init_tester(Mod, Func, Args, Dir, Name, {_,_,MinLev}=Levels,
"<td>~.3fs</td><td><b>~ts</b></td><td>~w Ok, ~w Failed~ts of ~w</td></tr>\n"
"</tfoot>\n",
[Time,SuccessStr,OkN,FailedN,SkipStr,OkN+FailedN+SkippedN]),
- test_server_io:stop().
+ test_server_io:stop([major,html,unexpected_io]).
report_severe_error(Reason) ->
test_server_sup:framework_call(report, [severe_error,Reason]).
@@ -1588,7 +1588,7 @@ do_test_cases(TopCases, SkipCases,
print(major, "=started ~s",
[lists:flatten(timestamp_get(""))]),
- put(test_server_html_footer, Footer),
+ test_server_io:set_footer(Footer),
run_test_cases(TestSpec, Config, TimetrapData)
end;