From: Glenn Morris Date: Sun, 9 Jul 2017 23:43:09 +0000 (-0700) Subject: Fix failing module tests on GNU/Linux X-Git-Tag: emacs-26.0.90~518^2~132 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=273f4bde39af5d87f10fd58f35b666dfa8a996a3;p=emacs.git Fix failing module tests on GNU/Linux * test/src/emacs-module-tests.el (module--test-assertions--load-non-live-object) (module--test-assertions--call-emacs-from-gc): Avoid test failures due to backtraces. --- diff --git a/test/src/emacs-module-tests.el b/test/src/emacs-module-tests.el index 988a7a178c6..2aa85f0b247 100644 --- a/test/src/emacs-module-tests.el +++ b/test/src/emacs-module-tests.el @@ -230,7 +230,7 @@ aren’t accessed." (should (eq (mod-test-invalid-store) 123)) (module--test-assertion (rx "Emacs value not found in " (+ digit) " values of " - (+ digit) " environments\n" eos) + (+ digit) " environments\n") ;; Storing and reloading a local value causes undefined behavior, ;; which should be detected by the module assertions. (mod-test-invalid-store) @@ -241,7 +241,7 @@ aren’t accessed." during garbage collection." (skip-unless (file-executable-p mod-test-emacs)) (module--test-assertion - (rx "Module function called during garbage collection\n" eos) + (rx "Module function called during garbage collection\n") (mod-test-invalid-finalizer))) ;;; emacs-module-tests.el ends here