[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/d-mode c77fc0a 307/346: Skip coverage analysis when byte-c
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/d-mode c77fc0a 307/346: Skip coverage analysis when byte-compiling |
Date: |
Sun, 29 Aug 2021 11:00:50 -0400 (EDT) |
branch: elpa/d-mode
commit c77fc0abab1ad0a794801d82f8afdc935089061f
Author: Vladimir Panteleev <git@thecybershadow.net>
Commit: Vladimir Panteleev <git@thecybershadow.net>
Skip coverage analysis when byte-compiling
As coverage analysis cannot be done with byte-compiled code, the
results are going to be either nonsensical or duplicated.
---
Makefile | 2 +-
d-mode-test.el | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index e8fc1b5..3f70f0c 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ test-source: clean
cask exec emacs -Q -batch -l d-mode-test.el -l d-mode.el -f
ert-run-tests-batch-and-exit
test-compiled: compile
- cask exec emacs -Q -batch -l d-mode-test.el -l d-mode.elc -f
ert-run-tests-batch-and-exit
+ D_MODE_NO_COVERAGE=1 cask exec emacs -Q -batch -l d-mode-test.el -l
d-mode.elc -f ert-run-tests-batch-and-exit
# Generate a coverage report viewable in Emacs.
coverage: clean
diff --git a/d-mode-test.el b/d-mode-test.el
index 09712c5..222485a 100644
--- a/d-mode-test.el
+++ b/d-mode-test.el
@@ -59,8 +59,9 @@
(:report-format 'simplecov)
(:send-report nil))
)
- (when (require 'undercover nil t)
- (undercover "d-mode.el")))
+ (unless (getenv "D_MODE_NO_COVERAGE")
+ (when (require 'undercover nil t)
+ (undercover "d-mode.el"))))
(require 'd-mode nil t)
- [nongnu] elpa/d-mode 4851fc2 270/346: Fix fontification of "enum" in string literals, (continued)
- [nongnu] elpa/d-mode 4851fc2 270/346: Fix fontification of "enum" in string literals, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 49cb5a8 275/346: Consolidate c-forward-decl-or-cast-1 annotation patch, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 45c60e0 286/346: Fix fontification of variable declarations with top-level types, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode e9a034e 283/346: Tighten decl/arglist recognition, obsoleting another patch, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 05fc5f1 284/346: Consolidate c-forward-decl-or-cast-1 "scope" patch, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 44cf02b 287/346: tests: New testcase, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 73f4bdc 292/346: Emacs 25 compatibility, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 8e77187 293/346: Fix fontification of return statements, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode cb97457 297/346: Remove another obsolete hack, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode bc725ef 296/346: Use a conditional compilation macro for version checks, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c77fc0a 307/346: Skip coverage analysis when byte-compiling,
ELPA Syncer <=
- [nongnu] elpa/d-mode d9e9d06 311/346: Merge d-forward-module-clause into d-forward-keyword-clause, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode f76ba89 308/346: Fontify (type-inferred) lambda arguments, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 34f44cf 337/346: .github/workflows/test.yml: Add Emacs 27.1, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 379b00e 144/346: Tweak intro comments a bit, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 7d3edd2 234/346: Add test from issue #94, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 968306a 224/346: Add a test case against the now-removed fontification hack, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 8e208b2 232/346: Fix imenu display of functions for imenu-add-to-menubar, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode b2c9831 252/346: Make imenu hierarchical, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 69df4a3 254/346: Abbreviate symbol kind in imenu entries, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 12e45cf 258/346: Fix fontification of properties with inferred return type, ELPA Syncer, 2021/08/29