aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/test/fprof_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-04-06 20:18:57 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-04-07 12:10:13 +0200
commitc9f6f5b9c20ada3dfa1e682cf49c09e3311db248 (patch)
tree31c4476e0de8aba383f32afe3aee18fa1f620027 /lib/tools/test/fprof_SUITE.erl
parent6e810f587a35606e1031e4f8e673a62c96015efd (diff)
downloadotp-c9f6f5b9c20ada3dfa1e682cf49c09e3311db248.tar.gz
otp-c9f6f5b9c20ada3dfa1e682cf49c09e3311db248.tar.bz2
otp-c9f6f5b9c20ada3dfa1e682cf49c09e3311db248.zip
Eliminate use of test_server:fail/0,1
Diffstat (limited to 'lib/tools/test/fprof_SUITE.erl')
-rw-r--r--lib/tools/test/fprof_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
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) ->