aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/test/emem_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/emem_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/emem_SUITE.erl')
-rw-r--r--lib/tools/test/emem_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tools/test/emem_SUITE.erl b/lib/tools/test/emem_SUITE.erl
index ddd11b6a22..2533a23dcc 100644
--- a/lib/tools/test/emem_SUITE.erl
+++ b/lib/tools/test/emem_SUITE.erl
@@ -512,7 +512,7 @@ run_emem_on_casefile(Config) ->
File = filename:join([?config(data_dir, Config), CaseName ++ ".gz"]),
case check_file(File) of
not_found ->
- ?t:fail({error, {filenotfound, File}});
+ ct:fail({error, {filenotfound, File}});
_ ->
ok
end,
@@ -621,12 +621,12 @@ start_emem(Config) when is_list(Config) ->
case open_port({spawn, Emem ++ " -t -n -o -i 1"},
Cd ++ [{line, 1024}, eof]) of
Port when is_port(Port) -> {ok, read_emu_flag(Port), Port};
- Error -> ?t:fail(Error)
+ Error -> ct:fail(Error)
end.
read_emu_flag(Port) ->
Line = case get_emem_line(Port) of
- eof -> ?t:fail(unexpected_end_of_file);
+ eof -> ct:fail(unexpected_end_of_file);
L -> L
end,
case has_prefix("> Emulator command line argument:", Line) of