aboutsummaryrefslogtreecommitdiffstats
path: root/lib/runtime_tools/test/dyntrace_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-04-22 16:16:57 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-04-22 16:16:57 +0200
commit77f4c4caab84c821a01bdffe78578781cc3a65b0 (patch)
tree225d321d09ff03888c4a440ef82ce4827194b7d0 /lib/runtime_tools/test/dyntrace_SUITE.erl
parent8139ee676303736f8e5849323cd8f4fb6abed549 (diff)
downloadotp-77f4c4caab84c821a01bdffe78578781cc3a65b0.tar.gz
otp-77f4c4caab84c821a01bdffe78578781cc3a65b0.tar.bz2
otp-77f4c4caab84c821a01bdffe78578781cc3a65b0.zip
Replace ?t with test_server
The macro ?t is deprecated. Replace its use with 'test_server'.
Diffstat (limited to 'lib/runtime_tools/test/dyntrace_SUITE.erl')
-rw-r--r--lib/runtime_tools/test/dyntrace_SUITE.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/runtime_tools/test/dyntrace_SUITE.erl b/lib/runtime_tools/test/dyntrace_SUITE.erl
index 5e84f8a3b5..7be2f49a8b 100644
--- a/lib/runtime_tools/test/dyntrace_SUITE.erl
+++ b/lib/runtime_tools/test/dyntrace_SUITE.erl
@@ -62,7 +62,7 @@ end_per_suite(_Config) ->
ok.
smoke(Config) ->
- Emu = ?t:lookup_config(emu_name, Config),
+ Emu = test_server:lookup_config(emu_name, Config),
BinEmu = list_to_binary(Emu),
case erlang:system_info(dynamic_trace) of
dtrace ->
@@ -89,8 +89,7 @@ process(_Config) ->
{probe,"process-hibernate"},
{action,[{printf,["hibernate %s %s\n",{arg,0},{arg,1}]}]},
{probe,"process-exit"},
- {action,[{printf,["exit %s %s\n",{arg,0},{arg,1}]}]}
- ],
+ {action,[{printf,["exit %s %s\n",{arg,0},{arg,1}]}]}],
F = fun() ->
{Pid,Ref} = spawn_monitor(fun my_process/0),
Pid ! hibernate,