aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/driver_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-03-09 18:58:47 +0100
committerBjörn-Egil Dahlberg <[email protected]>2016-03-11 15:43:11 +0100
commit2b73a44c5b720a348fe8001cf024065c14e87651 (patch)
treec5b75aeb98ab602915795bc3b85795b8cc189930 /erts/emulator/test/driver_SUITE.erl
parent5611e47606d8d691331f2eb4b7ed87bdd8ba9270 (diff)
downloadotp-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/driver_SUITE.erl')
-rw-r--r--erts/emulator/test/driver_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/test/driver_SUITE.erl b/erts/emulator/test/driver_SUITE.erl
index 37ad0fd79d..f519634281 100644
--- a/erts/emulator/test/driver_SUITE.erl
+++ b/erts/emulator/test/driver_SUITE.erl
@@ -518,7 +518,7 @@ queue_echo(doc) ->
["1) Queue up data in a driver that uses the full driver_queue API to do this."
"2) Get the data back, a random amount at a time."];
queue_echo(Config) when is_list(Config) ->
- case ?t:is_native(?MODULE) of
+ case test_server:is_native(?MODULE) of
true -> exit(crashes_native_code);
false -> queue_echo_1(Config)
end.
@@ -2571,10 +2571,10 @@ start_node(Config) when is_list(Config) ->
++ integer_to_list(erlang:system_time(seconds))
++ "-"
++ integer_to_list(erlang:unique_integer([positive]))),
- ?t:start_node(Name, slave, [{args, "-pa "++Pa}]).
+ test_server:start_node(Name, slave, [{args, "-pa "++Pa}]).
stop_node(Node) ->
- ?t:stop_node(Node).
+ test_server:stop_node(Node).
wait_deallocations() ->
try