aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2017-10-07 00:27:07 +0200
committerPeter Andersson <[email protected]>2017-10-25 17:28:55 +0200
commitca7eb97b48c523cf2eb26d610894f8e3057b7740 (patch)
tree9d50f2d34569e46f13f37f50924f54d2a31a8b8f /lib/common_test/src/ct.erl
parent2df013b5bfd714247570d9b4958b40f7559d35dd (diff)
downloadotp-ca7eb97b48c523cf2eb26d610894f8e3057b7740.tar.gz
otp-ca7eb97b48c523cf2eb26d610894f8e3057b7740.tar.bz2
otp-ca7eb97b48c523cf2eb26d610894f8e3057b7740.zip
Implement function that finds disposable test processes
Diffstat (limited to 'lib/common_test/src/ct.erl')
-rw-r--r--lib/common_test/src/ct.erl12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/common_test/src/ct.erl b/lib/common_test/src/ct.erl
index a12c0c9101..8289e8d9af 100644
--- a/lib/common_test/src/ct.erl
+++ b/lib/common_test/src/ct.erl
@@ -89,6 +89,8 @@
-export([get_target_name/1]).
-export([parse_table/1, listenv/1]).
+-export([get_test_processes/0]).
+
%%----------------------------------------------------------------------
%% Exported types
%%----------------------------------------------------------------------
@@ -1474,3 +1476,13 @@ continue() ->
%%% in order to let the test case proceed.</p>
continue(TestCase) ->
test_server:continue(TestCase).
+
+
+%%%-----------------------------------------------------------------
+%%% @spec get_test_processes() -> TestProcs
+%%% TestProcs = [{Pid,GroupLeader}]
+%%%
+%%% @doc
+%%%
+get_test_processes() ->
+ ct_util:get_test_processes().