aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/test/instrument_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-04-07 15:54:06 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-04-07 16:02:12 +0200
commitfba6f786f26aac535fe2c9f3c10472efe841cb09 (patch)
tree5fc8657001ed6d2cacc7320945b3e2084e4fedaa /lib/tools/test/instrument_SUITE.erl
parenta5fd45224765c2e06dd5bb3b2e0548bc747f042a (diff)
downloadotp-fba6f786f26aac535fe2c9f3c10472efe841cb09.tar.gz
otp-fba6f786f26aac535fe2c9f3c10472efe841cb09.tar.bz2
otp-fba6f786f26aac535fe2c9f3c10472efe841cb09.zip
Replace ?t with test_server
The macro ?t is deprecated. Replace its use with 'test_server'.
Diffstat (limited to 'lib/tools/test/instrument_SUITE.erl')
-rw-r--r--lib/tools/test/instrument_SUITE.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tools/test/instrument_SUITE.erl b/lib/tools/test/instrument_SUITE.erl
index db19a6912c..0105c00099 100644
--- a/lib/tools/test/instrument_SUITE.erl
+++ b/lib/tools/test/instrument_SUITE.erl
@@ -109,11 +109,11 @@ start_slave(Args) ->
MicroSecs = erlang:monotonic_time(),
Name = "instr" ++ integer_to_list(MicroSecs),
Pa = filename:dirname(code:which(?MODULE)),
- {ok, Node} = ?t:start_node(list_to_atom(Name),
- slave,
- [{args, "-pa " ++ Pa ++ " " ++ Args}]),
+ {ok, Node} = test_server:start_node(list_to_atom(Name),
+ slave,
+ [{args, "-pa " ++ Pa ++ " " ++ Args}]),
Node.
stop_slave(Node) ->
- true = ?t:stop_node(Node).
+ true = test_server:stop_node(Node).