From 53d43a7b9ab5f1054ccd4b9196b97acf925d072f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 2 Jul 2015 22:35:08 +0200 Subject: Remove outdated code from cover.mk --- plugins/cover.mk | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'plugins') 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 -- cgit v1.2.3