aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/match_spec_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-03-09 16:27:27 +0100
committerBjörn-Egil Dahlberg <[email protected]>2016-03-11 15:43:11 +0100
commit88ca325fa9fcc0b8953b389b96d1ed4666553ab6 (patch)
tree89a92e3712b597e87b2ba85fe1e5755a62c858b5 /erts/emulator/test/match_spec_SUITE.erl
parent9b6b82abfaae479849902ba60c4c54a526840a03 (diff)
downloadotp-88ca325fa9fcc0b8953b389b96d1ed4666553ab6.tar.gz
otp-88ca325fa9fcc0b8953b389b96d1ed4666553ab6.tar.bz2
otp-88ca325fa9fcc0b8953b389b96d1ed4666553ab6.zip
Replace use of test_server:format/2 with io:format/2
Diffstat (limited to 'erts/emulator/test/match_spec_SUITE.erl')
-rw-r--r--erts/emulator/test/match_spec_SUITE.erl14
1 files changed, 7 insertions, 7 deletions
diff --git a/erts/emulator/test/match_spec_SUITE.erl b/erts/emulator/test/match_spec_SUITE.erl
index 1e8bba99af..0e45ebf953 100644
--- a/erts/emulator/test/match_spec_SUITE.erl
+++ b/erts/emulator/test/match_spec_SUITE.erl
@@ -989,13 +989,13 @@ collect(P, TMs) ->
collect([]) ->
receive
M ->
- ?t:format("Got unexpected: ~p~n", [M]),
+ io:format("Got unexpected: ~p~n", [M]),
flush({got_unexpected,M})
after 17 ->
ok
end;
collect([TM | TMs]) ->
- ?t:format( "Expecting: ~p~n", [TM]),
+ io:format( "Expecting: ~p~n", [TM]),
receive
M0 ->
M = case element(1, M0) of
@@ -1008,20 +1008,20 @@ collect([TM | TMs]) ->
true ->
case (catch TM(M)) of
true ->
- ?t:format("Got: ~p~n", [M]),
+ io:format("Got: ~p~n", [M]),
collect(TMs);
_ ->
- ?t:format("Got unexpected: ~p~n", [M]),
+ io:format("Got unexpected: ~p~n", [M]),
flush({got_unexpected,M})
end;
false ->
case M of
TM ->
- ?t:format("Got: ~p~n", [M]),
+ io:format("Got: ~p~n", [M]),
collect(TMs);
_ ->
- ?t:format("Got unexpected: ~p~n", [M]),
+ io:format("Got unexpected: ~p~n", [M]),
flush({got_unexpected,M})
end
end
@@ -1030,7 +1030,7 @@ collect([TM | TMs]) ->
flush(Reason) ->
receive
M ->
- ?t:format("In queue: ~p~n", [M]),
+ io:format("In queue: ~p~n", [M]),
flush(Reason)
after 17 ->
ct:fail(Reason)