aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/code_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-03-08 21:01:40 +0100
committerBjörn-Egil Dahlberg <[email protected]>2016-03-11 15:43:11 +0100
commit9b6b82abfaae479849902ba60c4c54a526840a03 (patch)
tree4e96855cb8ab6bea70bca7f46c4ab1fdbd72a618 /erts/emulator/test/code_SUITE.erl
parentc062dfc485ad0d51d648701950f77ef8f51d4f35 (diff)
downloadotp-9b6b82abfaae479849902ba60c4c54a526840a03.tar.gz
otp-9b6b82abfaae479849902ba60c4c54a526840a03.tar.bz2
otp-9b6b82abfaae479849902ba60c4c54a526840a03.zip
Eliminate use of test_server:fail/0,1
Diffstat (limited to 'erts/emulator/test/code_SUITE.erl')
-rw-r--r--erts/emulator/test/code_SUITE.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/test/code_SUITE.erl b/erts/emulator/test/code_SUITE.erl
index 3d2cc000a8..a040eee50a 100644
--- a/erts/emulator/test/code_SUITE.erl
+++ b/erts/emulator/test/code_SUITE.erl
@@ -288,9 +288,9 @@ do_check_process_code_ets(Config) ->
receive
funs_dropped -> ok;
- Other -> ?t:fail({unexpected,Other})
+ Other -> ct:fail({unexpected,Other})
after 10000 ->
- ?line ?t:fail(no_funs_dropped_answer)
+ ?line ct:fail(no_funs_dropped_answer)
end,
?line false = erlang:check_process_code(Pid, my_code_test),
@@ -477,7 +477,7 @@ constant_pools(Config) when is_list(Config) ->
{'EXIT',NoOldHeap,{A,B,C}} ->
ok;
Other ->
- ?line ?t:fail({unexpected,Other})
+ ?line ct:fail({unexpected,Other})
end,
?line {module,literals} = erlang:load_module(literals, Code),
@@ -567,7 +567,7 @@ constant_refc_binaries(Config) when is_list(Config) ->
%% the size of allocated binaries.
if
Diff > 64*1024 ->
- ?t:fail(binary_leak);
+ ct:fail(binary_leak);
true ->
ok
end.