diff options
author | Peter Andersson <[email protected]> | 2017-12-04 16:01:06 +0100 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2017-12-04 16:01:06 +0100 |
commit | 333556f4323f8d8a9e22a613a8591032b84b28d8 (patch) | |
tree | fb2b191cdf6433f637e1ee998000d9f38e96a0f9 /lib/common_test/src/vts.erl | |
parent | 1a5dd04e0958681a72984eba6b3cf026aaec0155 (diff) | |
parent | 378da5aef27e1679aa30b8f4a2a6569accb70ff2 (diff) | |
download | otp-333556f4323f8d8a9e22a613a8591032b84b28d8.tar.gz otp-333556f4323f8d8a9e22a613a8591032b84b28d8.tar.bz2 otp-333556f4323f8d8a9e22a613a8591032b84b28d8.zip |
Merge branch 'peppe/common_test/auto_cleanup/OTP-13832' into maint
* peppe/common_test/auto_cleanup/OTP-13832:
Add tests and doc for the new remaining_test_procs function
Implement function that finds disposable test processes
Tag Common Test system processes using process dictionary
Add app name tag in process dictionary
OTP-13832
Diffstat (limited to 'lib/common_test/src/vts.erl')
-rw-r--r-- | lib/common_test/src/vts.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common_test/src/vts.erl b/lib/common_test/src/vts.erl index 99a109cfe8..83fcde2f48 100644 --- a/lib/common_test/src/vts.erl +++ b/lib/common_test/src/vts.erl @@ -157,6 +157,7 @@ test_info(_VtsPid,Type,Data) -> init(Parent) -> 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}, @@ -284,6 +285,7 @@ run_test1(State=#state{tests=Tests,current_log_dir=LogDir, logopts=LogOpts}) -> Self=self(), RunTest = fun() -> + ct_util:mark_process(), case ct_run:do_run(Tests,[],LogDir,LogOpts) of {error,_Reason} -> aborted(); |