[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/buttercup 686b817659 2/6: Always set native-comp-enable-su
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/buttercup 686b817659 2/6: Always set native-comp-enable-subr-trampolines to nil before running tests |
Date: |
Thu, 9 Mar 2023 18:00:42 -0500 (EST) |
branch: elpa/buttercup
commit 686b8176598927662718b8f572db269358d377e8
Author: Sergio Durigan Junior <sergiodj@sergiodj.net>
Commit: Sergio Durigan Junior <sergiodj@sergiodj.net>
Always set native-comp-enable-subr-trampolines to nil before running tests
For more information, see
https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-02/msg02464.html.
Closes #230
Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
---
buttercup.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/buttercup.el b/buttercup.el
index ade4595aa2..abcc0e3278 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -1586,10 +1586,12 @@ Signal an error if any spec fail or if no suites have
been
defined. Signal no errors if NOERROR is non-nil. Return t if all
specs pass, nil if at least one spec fail, and :no-suites if no suites
have been defined."
- (if buttercup-suites
- (buttercup--run-suites buttercup-suites noerror)
- (or (and noerror :no-suites)
- (error "No suites defined"))))
+ ;; See https://github.com/jorgenschaefer/emacs-buttercup/issues/230.
+ (let ((native-comp-enable-subr-trampolines nil))
+ (if buttercup-suites
+ (buttercup--run-suites buttercup-suites noerror)
+ (or (and noerror :no-suites)
+ (error "No suites defined")))))
(define-error 'buttercup-run-specs-failed "buttercup-run failed"
'buttercup-error-base)
- [nongnu] elpa/buttercup updated (07a52c9969 -> e7e51a6e2a), ELPA Syncer, 2023/03/09
- [nongnu] elpa/buttercup 12850aa3e7 3/6: Limit trampoline generation as locally as possible, ELPA Syncer, 2023/03/09
- [nongnu] elpa/buttercup 686b817659 2/6: Always set native-comp-enable-subr-trampolines to nil before running tests,
ELPA Syncer <=
- [nongnu] elpa/buttercup bcd2d96ee2 1/6: docs(exec): Document use with Eask, ELPA Syncer, 2023/03/09
- [nongnu] elpa/buttercup c6693d3667 4/6: Bump version: 1.29 → 1.30, ELPA Syncer, 2023/03/09
- [nongnu] elpa/buttercup e7e51a6e2a 6/6: Merge branch 'docs/eask', ELPA Syncer, 2023/03/09
- [nongnu] elpa/buttercup 457b6525ed 5/6: Update language identifiers of running-tests.md, ELPA Syncer, 2023/03/09