From adafa09133e3d9ab473e6b69e1fc62a06637eca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?= Date: Fri, 22 Apr 2016 16:04:15 +0200 Subject: Eliminate use of test_server:fail/0,1 --- lib/runtime_tools/test/dbg_SUITE.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/runtime_tools/test') diff --git a/lib/runtime_tools/test/dbg_SUITE.erl b/lib/runtime_tools/test/dbg_SUITE.erl index 27c4c446f5..e049ca5048 100644 --- a/lib/runtime_tools/test/dbg_SUITE.erl +++ b/lib/runtime_tools/test/dbg_SUITE.erl @@ -110,7 +110,7 @@ tiny(Config) when is_list(Config) -> Pid ! {dbg_test, stop}; true -> ok=file:set_cwd(OldCurDir), - ?t:fail("Could not spawn external test process.~n"), + ct:fail("Could not spawn external test process.~n"), failure end after @@ -533,7 +533,7 @@ file_port_schedfix1(Config) when is_list(Config) -> if P > 100 -> Reason = {BottomLine, '>', "100%"}, erlang:display({file_port_schedfix, fail, Reason}), - test_server:fail(Reason); + ct:fail(Reason); true -> {comment, BottomLine} end. -- cgit v1.2.3