diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-03-09 18:58:47 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-03-11 15:43:11 +0100 |
commit | 2b73a44c5b720a348fe8001cf024065c14e87651 (patch) | |
tree | c5b75aeb98ab602915795bc3b85795b8cc189930 /erts/emulator/test/statistics_SUITE.erl | |
parent | 5611e47606d8d691331f2eb4b7ed87bdd8ba9270 (diff) | |
download | otp-2b73a44c5b720a348fe8001cf024065c14e87651.tar.gz otp-2b73a44c5b720a348fe8001cf024065c14e87651.tar.bz2 otp-2b73a44c5b720a348fe8001cf024065c14e87651.zip |
Replace ?t with test_server
The macro ?t is deprecated. Replace its use with 'test_server'.
Diffstat (limited to 'erts/emulator/test/statistics_SUITE.erl')
-rw-r--r-- | erts/emulator/test/statistics_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/statistics_SUITE.erl b/erts/emulator/test/statistics_SUITE.erl index c16e0f7cbe..8279d374ee 100644 --- a/erts/emulator/test/statistics_SUITE.erl +++ b/erts/emulator/test/statistics_SUITE.erl @@ -107,7 +107,7 @@ wall_clock_update1(N) when N > 0 -> ?line Wc_Diff = T2_wc_time - T1_wc_time, ?line io:format("Wall clock diff = ~p; should be = 1000..1040~n", [Wc_Diff]), - case ?t:is_debug() of + case test_server:is_debug() of false -> ?line true = Wc_Diff =< 1040; true -> @@ -142,7 +142,7 @@ runtime_update(doc) -> "updated difference after running a process that takes all CPU " " power of the Erlang process for a second."; runtime_update(Config) when is_list(Config) -> - case ?t:is_cover() of + case test_server:is_cover() of false -> ?line process_flag(priority, high), do_runtime_update(10); |