diff --git a/debian/patches/0003-comment-out-undercover.diff b/debian/patches/0003-comment-out-undercover.diff new file mode 100644 index 0000000..d6ab15d --- /dev/null +++ b/debian/patches/0003-comment-out-undercover.diff @@ -0,0 +1,44 @@ +From: Lev Lamberov +Subject: Comment out undercover in tests + +This patch comments out undercover in tests. The package +elpa-undercover is not a real dependency (it is used just to collect +tests statistics), so it's better to comment it out rather then add it +as a dependency to d/control. The main motivation is to fix +autopkgtest (otherwise autopkgtest fails because it cannot load +undercover.el) + +--- a/test/concurrent-test.el ++++ b/test/concurrent-test.el +@@ -19,10 +19,10 @@ + ;; How to run this test ? + ;; $ emacs -L . -L $HOME/.emacs.d/elisp -batch -l deferred -l concurrent -l test-concurrent -f cc:test-all + +-(require 'undercover) +-(undercover "concurrent.el" +- (:send-report nil) +- (:report-file "/tmp/undercover-report.json")) ++;; (require 'undercover) ++;; (undercover "concurrent.el" ++;; (:send-report nil) ++;; (:report-file "/tmp/undercover-report.json")) + (require 'concurrent) + (require 'cl-lib) + (require 'pp) +--- a/test/deferred-test.el ++++ b/test/deferred-test.el +@@ -23,10 +23,10 @@ + + + (require 'ert) +-(require 'undercover) +-(undercover "deferred.el" +- (:send-report nil) +- (:report-file "/tmp/undercover-report.json")) ++;; (require 'undercover) ++;; (undercover "deferred.el" ++;; (:send-report nil) ++;; (:report-file "/tmp/undercover-report.json")) + (require 'deferred) + (require 'cl-lib) + (require 'pp) diff --git a/debian/patches/series b/debian/patches/series index 00dbe6c..8e6c942 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ 0001-fix-documentation.diff 0002-fix-version.diff +0003-comment-out-undercover.diff