summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarek Majkowski <majek@lshift.net>2009-07-21 12:30:02 +0100
committerMarek Majkowski <majek@lshift.net>2009-07-21 12:30:02 +0100
commit3744e9042d23445ca5742316efc32f1bd95cf5da (patch)
tree0967f1c41efa1103710c6bc3f894f6b75128b55b /Makefile
parent98d1423b60938225c7e0797a5b191928193bfa82 (diff)
downloadrabbitmq-server-git-3744e9042d23445ca5742316efc32f1bd95cf5da.tar.gz
code coverage is a bit more generic now, removed reference to hardcoded ebin directory
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9c372a28b7..b5e7b5bdb0 100644
--- a/Makefile
+++ b/Makefile
@@ -115,8 +115,10 @@ force-snapshot: all
stop-node:
-$(ERL_CALL) -q
+COVER_DIR=$(EBIN_DIR)
+
start-cover: all
- echo "cover:start(), rabbit_misc:enable_cover()." | $(ERL_CALL)
+ echo "cover:start(), rabbit_misc:enable_cover([\"$(COVER_DIR)\"])." | $(ERL_CALL)
stop-cover: all
echo "rabbit_misc:report_cover(), cover:stop()." | $(ERL_CALL)