[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 ff21f45: Update mod-test-sum-test
From: |
Ken Brown |
Subject: |
[Emacs-diffs] emacs-25 ff21f45: Update mod-test-sum-test |
Date: |
Sun, 29 Nov 2015 16:24:36 +0000 |
branch: emacs-25
commit ff21f455b71d9c566b8526e770632bac6c682f5d
Author: Ken Brown <address@hidden>
Commit: Ken Brown <address@hidden>
Update mod-test-sum-test
* modules/mod-test/test.el (mod-test-sum-test): Update to
accommodate the lack of dladdr on Cygwin.
---
modules/mod-test/test.el | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/mod-test/test.el b/modules/mod-test/test.el
index 3cb4e93..a0abdab 100644
--- a/modules/mod-test/test.el
+++ b/modules/mod-test/test.el
@@ -36,7 +36,9 @@
(string-match
(if (eq system-type 'windows-nt)
"#<module function at \\(0x\\)?[0-9a-fA-F]+ from .*>"
- "#<module function Fmod_test_sum from .*>")
+ (if (eq system-type 'cygwin)
+ "#<module function at \\(0x\\)?[0-9a-fA-F]+>"
+ "#<module function Fmod_test_sum from .*>"))
(nth 1 descr))))
(should (= (nth 2 descr) 3)))
(should-error (mod-test-sum "1" 2) :type 'wrong-type-argument)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 ff21f45: Update mod-test-sum-test,
Ken Brown <=