From: Jackson Ray Hamilton Date: Sun, 1 May 2016 02:04:15 +0000 (-0700) Subject: Handle multiple files in coverage reports. X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/d9c171b6337f372e3c797a5b6e400fce6aa43675?ds=sidebyside Handle multiple files in coverage reports. --- diff --git a/test/context-coloring-coverage.el b/test/context-coloring-coverage.el index a2bb13617..fe990d956 100644 --- a/test/context-coloring-coverage.el +++ b/test/context-coloring-coverage.el @@ -111,14 +111,14 @@ (mapcar #'context-coloring-coverage-format-source-file (cdr (assq 'source_files coverage-data))) - "\n")) + "\n\n")) (defun context-coloring-coverage-local-init () "Initialize test coverage for local viewing." (make-directory context-coloring-coverage-output-directory t) (setq undercover-force-coverage t) (setenv "COVERALLS_REPO_TOKEN" "noop") - (undercover "context-coloring.el" + (undercover "*.el" (:report-file context-coloring-coverage-output-file) (:send-report nil)) (add-hook @@ -147,7 +147,7 @@ (defun context-coloring-coverage-ci-init () "Initialize test coverage for continuous integration." - (undercover "context-coloring.el") + (undercover "*.el") (require 'context-coloring)) (provide 'context-coloring-coverage)