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.
This commit is contained in:
Glenn Morris 2017-07-09 16:43:09 -07:00
parent 083940a93d
commit 273f4bde39

View file

@ -230,7 +230,7 @@ arent 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 @@ arent 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