From 8179e41007922c059b8f9441f563edf694b8b315 Mon Sep 17 00:00:00 2001 From: Siri Hansen Date: Fri, 12 Oct 2012 15:49:22 +0200 Subject: [cover] Add support for test_server OTP-10523 * Added cover:flush(Nodes), which will fetch data from remote nodes without stopping cover on those nodes. * Added cover:get_main_node(), which returns the node name of the main node. This is used by test_server to avoid {error,not_main_node} when a slave starts another slave (e.g. in test_server's own tests). --- lib/tools/doc/src/cover.xml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'lib/tools/doc/src/cover.xml') diff --git a/lib/tools/doc/src/cover.xml b/lib/tools/doc/src/cover.xml index 683acc025d..be0fd5bd47 100644 --- a/lib/tools/doc/src/cover.xml +++ b/lib/tools/doc/src/cover.xml @@ -5,7 +5,7 @@
2001 - 2011 + 2012 Ericsson AB, All Rights Reserved @@ -104,6 +104,8 @@ remove nodes. The same Cover compiled code will be loaded on each node, and analysis will collect and sum up coverage data results from all nodes.

+

To only collect data from remote nodes without stopping + cover on those nodes, use cover:flush/1

@@ -477,6 +479,17 @@ remote nodes is fetched and stored on the main node.

+ + flush(Nodes) -> ok | {error,not_main_node} + Collect cover data from remote nodes. + + Nodes = [atom()] + + +

Fetch data from the Cover database on the remote nodes and + stored on the main node.

+
+
-- cgit v1.2.3