aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/test/cover_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/cover_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/cover_SUITE.erl')
-rw-r--r--lib/tools/test/cover_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tools/test/cover_SUITE.erl b/lib/tools/test/cover_SUITE.erl
index 421957315c..4628e5f1b1 100644
--- a/lib/tools/test/cover_SUITE.erl
+++ b/lib/tools/test/cover_SUITE.erl
@@ -1029,21 +1029,21 @@ otp_6115(Config) when is_list(Config) ->
Beam when is_list(Beam) ->
ok;
Other ->
- ?t:fail({"f1 is not reloaded", Other})
+ ct:fail({"f1 is not reloaded", Other})
end,
case process_info(Pid1) of
undefined ->
ok;
_PI1 ->
RefToOldP1 = erlang:check_process_code(Pid1, f1),
- ?t:fail({"Pid1 still alive", RefToOldP1})
+ ct:fail({"Pid1 still alive", RefToOldP1})
end,
case process_info(Pid2) of
undefined ->
ok;
_PI2 ->
RefToOldP2 = erlang:check_process_code(Pid1, f2),
- ?t:fail({"Pid2 still alive", RefToOldP2})
+ ct:fail({"Pid2 still alive", RefToOldP2})
end,
file:set_cwd(CWD),