From c9f6f5b9c20ada3dfa1e682cf49c09e3311db248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?= Date: Wed, 6 Apr 2016 20:18:57 +0200 Subject: Eliminate use of test_server:fail/0,1 --- lib/tools/test/fprof_SUITE.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/tools/test/fprof_SUITE.erl') diff --git a/lib/tools/test/fprof_SUITE.erl b/lib/tools/test/fprof_SUITE.erl index b942111026..1483c654c6 100644 --- a/lib/tools/test/fprof_SUITE.erl +++ b/lib/tools/test/fprof_SUITE.erl @@ -546,12 +546,12 @@ cpu_create_file_slow(Config) when is_list(Config) -> case {os:type(), os:version()} of {{unix, sunos}, {Major, Minor, _}} when Major >= 5, Minor >= 7 -> - test_server:fail(Result); + ct:fail(Result); _ -> {skipped, "not_supported"} end; _ -> - test_server:fail(Result) + ct:fail(Result) end, TestResult. @@ -1137,7 +1137,7 @@ compare([],Rest) -> [] -> ok; _ -> io:format("\nMissing in simulator results:\n~p\n",[Error]) end, - ?t:fail({error,mismatch_between_simulator_and_fprof}) + ct:fail({error,mismatch_between_simulator_and_fprof}) end. remove_undefined([{{_Pid,undefined},_,_}|Rest],Result) -> -- cgit v1.2.3