diff options
author | Peter Andersson <[email protected]> | 2017-10-06 14:22:25 +0200 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2017-10-25 17:28:55 +0200 |
commit | 2df013b5bfd714247570d9b4958b40f7559d35dd (patch) | |
tree | 2c3f7208158de9b0b23617f906f402e5a6e3c326 /lib/common_test/src/vts.erl | |
parent | 70b6b32a9c7e3e3fca45fc3a0e11e2a5087a4660 (diff) | |
download | otp-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/vts.erl')
-rw-r--r-- | lib/common_test/src/vts.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/vts.erl b/lib/common_test/src/vts.erl index e1482d9014..83fcde2f48 100644 --- a/lib/common_test/src/vts.erl +++ b/lib/common_test/src/vts.erl @@ -155,9 +155,9 @@ test_info(_VtsPid,Type,Data) -> call({test_info,Type,Data}). init(Parent) -> - put(app, common_test), register(?MODULE,self()), process_flag(trap_exit,true), + ct_util:mark_process(), Parent ! {self(),started}, {ok,Cwd} = file:get_cwd(), InitState = #state{start_dir=Cwd}, @@ -285,7 +285,7 @@ run_test1(State=#state{tests=Tests,current_log_dir=LogDir, logopts=LogOpts}) -> Self=self(), RunTest = fun() -> - put(app, common_test), + ct_util:mark_process(), case ct_run:do_run(Tests,[],LogDir,LogOpts) of {error,_Reason} -> aborted(); |