From c9f6f5b9c20ada3dfa1e682cf49c09e3311db248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?= Date: Wed, 6 Apr 2016 20:18:57 +0200 Subject: Eliminate use of test_server:fail/0,1 --- lib/tools/test/make_SUITE.erl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/tools/test/make_SUITE.erl') diff --git a/lib/tools/test/make_SUITE.erl b/lib/tools/test/make_SUITE.erl index 5e3b3772fc..c277d8c9ce 100644 --- a/lib/tools/test/make_SUITE.erl +++ b/lib/tools/test/make_SUITE.erl @@ -186,7 +186,7 @@ otp_6057_a(Config) when is_list(Config) -> case ensure_exists([Test1, Test2, Test3]) of ok -> ok; Missing -> - ?t:fail({"missing beam file", Missing}) + ct:fail({"missing beam file", Missing}) end, %% Check creation date of test1.beam and make sure it is not @@ -201,7 +201,7 @@ otp_6057_a(Config) when is_list(Config) -> case FileInfo2#file_info.mtime of Date1 -> ok; _Date2 -> - ?t:fail({"recompiled beam file", Test1++".beam"}) + ct:fail({"recompiled beam file", Test1++".beam"}) end, %% Remove the beam files @@ -238,7 +238,7 @@ otp_6057_b(Config) when is_list(Config) -> case ensure_exists([Test3]) of ok -> ok; Missing -> - ?t:fail({"missing beam file", Missing}) + ct:fail({"missing beam file", Missing}) end, %% Remove the beam file @@ -277,7 +277,7 @@ otp_6057_c(Config) when is_list(Config) -> case ensure_exists([Test1, Test2]) of ok -> ok; Missing -> - ?t:fail({"missing beam file", Missing}) + ct:fail({"missing beam file", Missing}) end, %% Remove the beam files @@ -309,6 +309,6 @@ ensure_no_messages(N) -> after 0 -> case N of 0 -> ok; - N -> ?t:fail() + N -> ct:fail(failed) end end. -- cgit v1.2.3