aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/test_lib.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-02-25 15:45:21 +0100
committerBjörn Gustavsson <[email protected]>2016-02-25 15:53:34 +0100
commitb180108aed3f44654aae70e3b59a8e6fb02df995 (patch)
tree65a0a9da19bb89b59dbdfab31d882b85a229f9e7 /lib/compiler/test/test_lib.erl
parent3d03356f718f64ca0e33b715f306219db86a4b0a (diff)
downloadotp-b180108aed3f44654aae70e3b59a8e6fb02df995.tar.gz
otp-b180108aed3f44654aae70e3b59a8e6fb02df995.tar.bz2
otp-b180108aed3f44654aae70e3b59a8e6fb02df995.zip
Replace ?t with test_server
The macro ?t is deprecated. Replace its use with 'test_server'.
Diffstat (limited to 'lib/compiler/test/test_lib.erl')
-rw-r--r--lib/compiler/test/test_lib.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/test/test_lib.erl b/lib/compiler/test/test_lib.erl
index beb03859c7..6a0237373a 100644
--- a/lib/compiler/test/test_lib.erl
+++ b/lib/compiler/test/test_lib.erl
@@ -52,7 +52,7 @@ smoke_disasm(File) when is_list(File) ->
%% be slower than running them sequentially.
parallel() ->
- case ?t:is_cover() orelse erlang:system_info(schedulers) =:= 1 of
+ case test_server:is_cover() orelse erlang:system_info(schedulers) =:= 1 of
true -> [];
false -> [parallel]
end.
@@ -96,7 +96,7 @@ get_data_dir(Config) ->
p_run(Test, List) ->
S = erlang:system_info(schedulers),
- N = case ?t:is_cover() of
+ N = case test_server:is_cover() of
false ->
S + 1;
true ->