aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_repeat.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2017-10-03 14:53:42 +0200
committerPeter Andersson <[email protected]>2017-10-25 17:28:55 +0200
commit70b6b32a9c7e3e3fca45fc3a0e11e2a5087a4660 (patch)
treeffce83db6a82e5aaa89f474732794c9a915d6157 /lib/common_test/src/ct_repeat.erl
parent7fb796ab3636af53a7ef659099c1fb9fe37c1957 (diff)
downloadotp-70b6b32a9c7e3e3fca45fc3a0e11e2a5087a4660.tar.gz
otp-70b6b32a9c7e3e3fca45fc3a0e11e2a5087a4660.tar.bz2
otp-70b6b32a9c7e3e3fca45fc3a0e11e2a5087a4660.zip
Add app name tag in process dictionary
Diffstat (limited to 'lib/common_test/src/ct_repeat.erl')
-rw-r--r--lib/common_test/src/ct_repeat.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common_test/src/ct_repeat.erl b/lib/common_test/src/ct_repeat.erl
index c043c9846c..d878df9c66 100644
--- a/lib/common_test/src/ct_repeat.erl
+++ b/lib/common_test/src/ct_repeat.erl
@@ -70,6 +70,7 @@ loop_test(If,Args) when is_list(Args) ->
CtrlPid = self(),
spawn(
fun() ->
+ put(app, common_test),
stop_after(CtrlPid,Secs,ForceStop)
end)
end,
@@ -134,6 +135,7 @@ spawn_tester(script,Ctrl,Args) ->
spawn_tester(func,Ctrl,Opts) ->
Tester = fun() ->
+ put(app, common_test),
case catch ct_run:run_test2(Opts) of
{'EXIT',Reason} ->
exit(Reason);