- 29 Apr, 2017 1 commit
-
-
Philipp Stephani authored
* test/Makefile.in (ELFILES): Exclude module test if modules aren't configured. (EMACS_TEST_DIRECTORY): Expand test directory so that it's set correctly even if Emacs changes the current directory. ($(srcdir)/src/emacs-module-tests.log) ($(test_module)): Proper dependency tracking for test module. * test/data/emacs-module/Makefile (ROOT): Adapt to new location. Remove 'check' target and EMACS variable, which are no longer necessary. (SO): Change to include period. * test/src/emacs-module-tests.el (mod-test): Use EMACS_TEST_DIRECTORY environment variable to reliably find test data. * configure.ac (HAVE_MODULES, MODULES_SUFFIX): Add necessary substitutions.
-
- 26 Mar, 2017 1 commit
-
-
Philipp Stephani authored
* test.el (mod-test-non-local-exit-signal-test): Compare actual backtrace to expected backtrace.
-
- 01 Jan, 2017 1 commit
-
-
Paul Eggert authored
Run admin/update-copyright.
-
- 01 Jan, 2016 1 commit
-
-
Paul Eggert authored
Run admin/update-copyright.
-
- 06 Dec, 2015 2 commits
-
-
Paul Eggert authored
* modules/mod-test/test.el (mod-test-sum-test): Bring back the 2**29 tests, but port them to 32-bit Emacs --without-wide-int.
-
Paul Eggert authored
* modules/mod-test/test.el (mod-test-sum-test): Don’t attempt to match descriptions to operating systems. It didn’t work on Fedora x86-64 running a 32-bit executable, and it’s not worth the trouble anyway. Port to 32-bit platforms by removing an assumption about fixnum widths.
-
- 02 Dec, 2015 1 commit
-
-
Eli Zaretskii authored
* src/emacs-module.c (value_to_lisp) [WIDE_EMACS_INT]: Use unsigned data types to manipulate pointers, to avoid sign extension coming after us with a vengeance. * modules/mod-test/test.el (mod-test-sum-test): Add tests for Emacs with wide ints that verify integer values near the critical value that requires us to switch to a cons cell.
-
- 01 Dec, 2015 1 commit
-
-
Eli Zaretskii authored
* src/emacs-module.c (lisp_to_value): Compare the produced value with the original Lisp object, not with the one potentially converted into a Lisp_Cons. Fixes assertion violations when working with integers larger than fit into a 32-bit value. * modules/mod-test/test.el (mod-test-sum-test): Add tests for large integers, to test --with-wide-int.
-
- 29 Nov, 2015 1 commit
-
-
Ken Brown authored
* modules/mod-test/test.el (mod-test-sum-test): Update to accommodate the lack of dladdr on Cygwin.
-
- 27 Nov, 2015 1 commit
-
-
Eli Zaretskii authored
* modules/mod-test/test.el (mod-test-sum-test): Add tests for wrong-type-argument.
-
- 24 Nov, 2015 1 commit
-
-
Eli Zaretskii authored
* modules/mod-test/test.el (mod-test-sum-test): Test the error signaled when the function is invoked with a wrong number of arguments.
-
- 19 Nov, 2015 2 commits
-
-
Paul Eggert authored
This is mostly indenting and spacing changes. Also, remove some unnecessary static decls instead of bothering to reindent them. * src/module.h (EMACS_EXTERN_C_BEGIN): Remove, and do this inline, as most other Emacs files do for this sort of thing.
-
Paul Eggert authored
Put them in the usual format for GNU Emacs copyright notices.
-
- 18 Nov, 2015 1 commit
-
-
Aurélien Aptel authored
Add 'modhelp.py' script (python2) to automate module testing and module generation. To build and test all modules in the modules/ dir $ ./modhelp.py test To generate a module from template code (good starting point) $ ./modhelp init mynewtestmodule See the script -h option for more documentation. * modules/modhelp.py: New module helper script. * modules/mod-test/Makefile: New file. Makefile for the test module. * modules/mod-test/mod-test.c: New file. Test module source file. * modules/mod-test/test.el: New file. ert test suite for the test module. * modules/.gitignore: New file. Local .gitignore file. Co-authored-by:
Philipp Stephani <phst@google.com>
-