summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon MacMullen <simon@lshift.net>2010-04-20 16:00:52 +0100
committerSimon MacMullen <simon@lshift.net>2010-04-20 16:00:52 +0100
commitaf162a6fd5fbc5db1eca923b3431940e7c812600 (patch)
tree24e980c1cffb04259064828f9efa1c6be392ad83 /Makefile
parentdd2c9913d29f9abfbcf82ab53ef5c388900e89bc (diff)
downloadrabbitmq-server-git-af162a6fd5fbc5db1eca923b3431940e7c812600.tar.gz
Allow enabling cover for secondary node.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5dbf612dc5..c0219e851c 100644
--- a/Makefile
+++ b/Makefile
@@ -166,10 +166,14 @@ stop-node:
# code coverage will be created for subdirectory "ebin" of COVER_DIR
COVER_DIR=.
+SECONDARY_NODENAME=hare
start-cover: all
echo "cover:start(), rabbit_misc:enable_cover([\"$(COVER_DIR)\"])." | $(ERL_CALL)
+start-secondary-cover:
+ echo "rabbit_misc:enable_cover_node(\"$(SECONDARY_NODENAME)\")." | $(ERL_CALL)
+
stop-cover: all
echo "rabbit_misc:report_cover(), cover:stop()." | $(ERL_CALL)
cat cover/summary.txt