From 511ff3279897028cabace38388d475eb4e4c56ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Thu, 25 Feb 2016 15:40:16 +0100 Subject: Replace use of test_server:format/2 with io:format/2 There is no practial difference. --- lib/stdlib/test/ets_SUITE.erl | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'lib/stdlib/test/ets_SUITE.erl') 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 ", -- cgit v1.2.3