aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_repeat.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2017-10-06 14:22:25 +0200
committerPeter Andersson <[email protected]>2017-10-25 17:28:55 +0200
commit2df013b5bfd714247570d9b4958b40f7559d35dd (patch)
tree2c3f7208158de9b0b23617f906f402e5a6e3c326 /lib/common_test/src/ct_repeat.erl
parent70b6b32a9c7e3e3fca45fc3a0e11e2a5087a4660 (diff)
downloadotp-2df013b5bfd714247570d9b4958b40f7559d35dd.tar.gz
otp-2df013b5bfd714247570d9b4958b40f7559d35dd.tar.bz2
otp-2df013b5bfd714247570d9b4958b40f7559d35dd.zip
Tag Common Test system processes using process dictionary
Diffstat (limited to 'lib/common_test/src/ct_repeat.erl')
-rw-r--r--lib/common_test/src/ct_repeat.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_repeat.erl b/lib/common_test/src/ct_repeat.erl
index d878df9c66..177ef37d1f 100644
--- a/lib/common_test/src/ct_repeat.erl
+++ b/lib/common_test/src/ct_repeat.erl
@@ -70,7 +70,7 @@ loop_test(If,Args) when is_list(Args) ->
CtrlPid = self(),
spawn(
fun() ->
- put(app, common_test),
+ ct_util:mark_process(),
stop_after(CtrlPid,Secs,ForceStop)
end)
end,
@@ -135,7 +135,7 @@ spawn_tester(script,Ctrl,Args) ->
spawn_tester(func,Ctrl,Opts) ->
Tester = fun() ->
- put(app, common_test),
+ ct_util:mark_process(),
case catch ct_run:run_test2(Opts) of
{'EXIT',Reason} ->
exit(Reason);