diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-04-06 20:18:57 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-04-07 12:10:13 +0200 |
commit | c9f6f5b9c20ada3dfa1e682cf49c09e3311db248 (patch) | |
tree | 31c4476e0de8aba383f32afe3aee18fa1f620027 /lib/tools/test/fprof_SUITE.erl | |
parent | 6e810f587a35606e1031e4f8e673a62c96015efd (diff) | |
download | otp-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.erl | 6 |
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) -> |