aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/test/int_eval_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-04-18 08:14:19 +0200
committerBjörn Gustavsson <[email protected]>2016-04-18 08:14:19 +0200
commit575c1d99d37e541d802c51a62326b6faa3cffbf1 (patch)
tree7174e0f94d00bda30c719ee69d20b49bc8bf1178 /lib/debugger/test/int_eval_SUITE.erl
parent26c6f622ce12e865a229b51ff503f852df56d82d (diff)
downloadotp-575c1d99d37e541d802c51a62326b6faa3cffbf1.tar.gz
otp-575c1d99d37e541d802c51a62326b6faa3cffbf1.tar.bz2
otp-575c1d99d37e541d802c51a62326b6faa3cffbf1.zip
Eliminate use of test_server:fail/{0,1}
Diffstat (limited to 'lib/debugger/test/int_eval_SUITE.erl')
-rw-r--r--lib/debugger/test/int_eval_SUITE.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/debugger/test/int_eval_SUITE.erl b/lib/debugger/test/int_eval_SUITE.erl
index 9639b67c6c..524c0c525a 100644
--- a/lib/debugger/test/int_eval_SUITE.erl
+++ b/lib/debugger/test/int_eval_SUITE.erl
@@ -119,9 +119,9 @@ catch_and_throw(Config) when is_list(Config) ->
?line Pid1 = spawn_link(fun() -> exit(?IM:catch_a_ball()) end),
receive
{'EXIT',Pid1,ok} -> ok;
- {'EXIT',Pid1,Bad1} -> ?line ?t:fail({bad_message,Bad1})
+ {'EXIT',Pid1,Bad1} -> ct:fail({bad_message,Bad1})
after 5000 ->
- ?line ?t:fail(timeout)
+ ct:fail(timeout)
end,
@@ -130,9 +130,9 @@ catch_and_throw(Config) when is_list(Config) ->
?line Pid2 = spawn_link(fun() -> ?IM:throw_a_ball() end),
receive
{'EXIT',Pid2,{{nocatch,{a,ball}},[_|_]}} -> ok;
- {'EXIT',Pid2,Bad2} -> ?line ?t:fail({bad_message,Bad2})
+ {'EXIT',Pid2,Bad2} -> ct:fail({bad_message,Bad2})
after 5000 ->
- ?line ?t:fail(timeout)
+ ct:fail(timeout)
end,
?line ok = ?IM:more_catch(fun(_) -> ?IM:exit_me() end),
@@ -261,9 +261,9 @@ interpreted_exit(Config) when is_list(Config) ->
{'EXIT',Pid,Reason} ->
ok;
{'EXIT',Pid,BadReason} ->
- ?line ?t:fail({bad_message,BadReason})
+ ct:fail({bad_message,BadReason})
after 10000 ->
- ?line ?t:fail(timeout)
+ ct:fail(timeout)
end,
ok.