[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/buttercup 843fa6f 327/340: Keep the actual variable defini
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/buttercup 843fa6f 327/340: Keep the actual variable definition with the reporter |
Date: |
Thu, 16 Dec 2021 15:00:00 -0500 (EST) |
branch: elpa/buttercup
commit 843fa6f58a67c9684ed43bb6f0deaccd482ec80c
Author: Ola Nilsson <ola.nilsson@gmail.com>
Commit: Ola Nilsson <ola.nilsson@gmail.com>
Keep the actual variable definition with the reporter
The buttercup-reporter-batch-quiet-statuses is a part of the
buttercup-batch-reporter, so it should be defined close to that code.
A pre-declaration works just as well.
---
buttercup.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/buttercup.el b/buttercup.el
index 4e3635d..220ba08 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -1338,8 +1338,8 @@ or a macro/special form.")
A buffer with this name should only exist while running a test
spec, and should be killed after running the spec.")
-(defvar buttercup-reporter-batch-quiet-statuses nil
- "Do not print results for any spec with any of the listed statuses.")
+;; predeclaration
+(defvar buttercup-reporter-batch-quiet-statuses)
;;;###autoload
(defun buttercup-run-at-point ()
@@ -1622,6 +1622,9 @@ EVENT and ARG are described in `buttercup-reporter'."
(defvar buttercup-reporter-batch--failures nil
"List of failed specs of the current batch report.")
+(defvar buttercup-reporter-batch-quiet-statuses nil
+ "Do not print results for any spec with any of the listed statuses.")
+
(defvar buttercup-reporter-batch--suite-stack nil
"Stack of unprinted suites.")
- [nongnu] elpa/buttercup 74e74e2 302/340: Extract buttercup-reporter-batch--print-failed-spec-report, (continued)
- [nongnu] elpa/buttercup 74e74e2 302/340: Extract buttercup-reporter-batch--print-failed-spec-report, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 52f0bec 305/340: Make buttercup-colorize treat nil as no color, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup a8f4cff 311/340: test: Correct descriptions for ERT compatibility specs, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 995a4f1 312/340: Add missing docstrings, correct some other docstrings, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 110a9b6 314/340: test: Use pretty traceback, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup a9647cb 316/340: Bump version: 1.22 → 1.23, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup b76ff35 317/340: Update buttercup.bat to handle all options, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 62a34c7 322/340: Remove elc files in tests on make clean, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 0e5eae0 321/340: Merge pull request #192 from snogge/re-patterns, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup e0b5d9f 324/340: Correct error message in buttercup--format-stack-frame, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 843fa6f 327/340: Keep the actual variable definition with the reporter,
ELPA Syncer <=
- [nongnu] elpa/buttercup 315a891 326/340: Fix stack frame collection in buttercup--backtrace, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup cccdedf 334/340: Merge pull request #197 from snogge/omit-traceback, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup bef49f5 323/340: Remove extra newline in error backtrace, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 6ef715f 328/340: Use buttercup--mark-stackframe to mark the start of test code, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 2f24a44 338/340: Make formatting of backtrace frames closer to that standard for Emacs, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup f6f9335 337/340: test: Add tests for buttercup-run-discovery, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 553ff83 103/340: Add :to-have-same-items-as to compare lists as sets., ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 657acef 102/340: Bump version: 1.4 → 1.5, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 7e8898b 127/340: Implement :to-have-been-called-times matcher (close #90), ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup ca09040 130/340: Improve the Makefile, ELPA Syncer, 2021/12/16