aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/ets_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-02-25 15:40:16 +0100
committerBjörn Gustavsson <[email protected]>2016-03-09 12:08:36 +0100
commit511ff3279897028cabace38388d475eb4e4c56ec (patch)
tree43be20aad11a7d277d23499294415886443b6483 /lib/stdlib/test/ets_SUITE.erl
parentec35c6439d3707801c7527dd2ea01ef0aa0421ed (diff)
downloadotp-511ff3279897028cabace38388d475eb4e4c56ec.tar.gz
otp-511ff3279897028cabace38388d475eb4e4c56ec.tar.bz2
otp-511ff3279897028cabace38388d475eb4e4c56ec.zip
Replace use of test_server:format/2 with io:format/2
There is no practial difference.
Diffstat (limited to 'lib/stdlib/test/ets_SUITE.erl')
-rw-r--r--lib/stdlib/test/ets_SUITE.erl19
1 files changed, 10 insertions, 9 deletions
diff --git a/lib/stdlib/test/ets_SUITE.erl b/lib/stdlib/test/ets_SUITE.erl
index 8b1034f24f..81bc87bd12 100644
--- a/lib/stdlib/test/ets_SUITE.erl
+++ b/lib/stdlib/test/ets_SUITE.erl
@@ -717,9 +717,8 @@ chk_normal_tab_struct_size() ->
erlang:system_info(wordsize),
erlang:system_info(smp_support),
erlang:system_info(heap_type)},
- ?line ?t:format("System = ~p~n", [System]),
- %%?line ?t:format("?NORMAL_TAB_STRUCT_SZ=~p~n", [?NORMAL_TAB_STRUCT_SZ]),
- ?line ?t:format("?TAB_STRUCT_SZ=~p~n", [?TAB_STRUCT_SZ]),
+ io:format("System = ~p~n", [System]),
+ io:format("?TAB_STRUCT_SZ=~p~n", [?TAB_STRUCT_SZ]),
ok.
% ?line case System of
% {{unix, sunos}, {5, 8, 0}, 4, false, private} ->
@@ -3563,8 +3562,8 @@ verify_rescheduling_exit(Config, ForEachData, Flags, Fix, NOTabs, NOProcs) ->
TPs),
?line lists:foreach(fun (TP) ->
?line XScheds = count_exit_sched(TP),
- ?line ?t:format("~p XScheds=~p~n",
- [TP, XScheds]),
+ io:format("~p XScheds=~p~n",
+ [TP, XScheds]),
?line true = XScheds >= 5
end,
TPs),
@@ -4409,10 +4408,12 @@ heavy_lookup_do(Opts) ->
do_lookup(_Tab, 0) -> ok;
do_lookup(Tab, N) ->
case ets:lookup(Tab, N) of
- [] -> ?t:format("Set #~p was reported as empty. Not valid.",
- [N]),
- exit('Invalid lookup');
- _ -> do_lookup(Tab, N-1)
+ [] ->
+ io:format("Set #~p was reported as empty. Not valid.",
+ [N]),
+ exit('Invalid lookup');
+ _ ->
+ do_lookup(Tab, N-1)
end.
heavy_lookup_element(doc) -> ["Performs multiple lookups for ",