aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorGlenn Morris2017-07-09 16:43:09 -0700
committerGlenn Morris2017-07-09 16:43:09 -0700
commit273f4bde39af5d87f10fd58f35b666dfa8a996a3 (patch)
tree187be3a6f93b97d1ad02aa0be137e7c246d9b7ab /test/src
parent083940a93df17c6e50d6523e30d56ca3d179f688 (diff)
downloademacs-273f4bde39af5d87f10fd58f35b666dfa8a996a3.tar.gz
emacs-273f4bde39af5d87f10fd58f35b666dfa8a996a3.zip
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.
Diffstat (limited to 'test/src')
-rw-r--r--test/src/emacs-module-tests.el4
1 files changed, 2 insertions, 2 deletions
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."
230 (should (eq (mod-test-invalid-store) 123)) 230 (should (eq (mod-test-invalid-store) 123))
231 (module--test-assertion (rx "Emacs value not found in " 231 (module--test-assertion (rx "Emacs value not found in "
232 (+ digit) " values of " 232 (+ digit) " values of "
233 (+ digit) " environments\n" eos) 233 (+ digit) " environments\n")
234 ;; Storing and reloading a local value causes undefined behavior, 234 ;; Storing and reloading a local value causes undefined behavior,
235 ;; which should be detected by the module assertions. 235 ;; which should be detected by the module assertions.
236 (mod-test-invalid-store) 236 (mod-test-invalid-store)
@@ -241,7 +241,7 @@ aren’t accessed."
241during garbage collection." 241during garbage collection."
242 (skip-unless (file-executable-p mod-test-emacs)) 242 (skip-unless (file-executable-p mod-test-emacs))
243 (module--test-assertion 243 (module--test-assertion
244 (rx "Module function called during garbage collection\n" eos) 244 (rx "Module function called during garbage collection\n")
245 (mod-test-invalid-finalizer))) 245 (mod-test-invalid-finalizer)))
246 246
247;;; emacs-module-tests.el ends here 247;;; emacs-module-tests.el ends here