aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-07-02 22:35:08 +0200
committerLoïc Hoguin <[email protected]>2015-07-02 22:35:08 +0200
commit53d43a7b9ab5f1054ccd4b9196b97acf925d072f (patch)
tree228a000a88a71b3ac02d71285abb6371afad8b02 /plugins
parentf634b7483c1954170d5bdb3283b05981ed3e955e (diff)
downloaderlang.mk-53d43a7b9ab5f1054ccd4b9196b97acf925d072f.tar.gz
erlang.mk-53d43a7b9ab5f1054ccd4b9196b97acf925d072f.tar.bz2
erlang.mk-53d43a7b9ab5f1054ccd4b9196b97acf925d072f.zip
Remove outdated code from cover.mk
Diffstat (limited to 'plugins')
-rw-r--r--plugins/cover.mk15
1 files changed, 1 insertions, 14 deletions
diff --git a/plugins/cover.mk b/plugins/cover.mk
index 1ec4a52..f8734ee 100644
--- a/plugins/cover.mk
+++ b/plugins/cover.mk
@@ -3,25 +3,12 @@
COVER_REPORT_DIR = cover
-# Hook in coverage to eunit
-
-ifdef COVER
-ifdef EUNIT_RUN
-EUNIT_RUN_BEFORE += -eval \
- 'case cover:compile_beam_directory("ebin") of \
- {error, _} -> halt(1); \
- _ -> ok \
- end.'
-EUNIT_RUN_AFTER += -eval 'cover:export("eunit.coverdata").'
-endif
-endif
-
# Hook in coverage to ct
ifdef COVER
ifdef CT_RUN
# All modules in 'ebin'
-COVER_MODS = $(notdir $(basename $(shell echo ebin/*.beam)))
+COVER_MODS = $(notdir $(basename $(call core_ls,ebin/*.beam)))
test-build:: $(TEST_DIR)/ct.cover.spec