]> git.eshelyaron.com Git - emacs.git/commit
Integrate module test with normal test suite
authorPhilipp Stephani <phst@google.com>
Sat, 22 Apr 2017 13:41:39 +0000 (15:41 +0200)
committerPhilipp Stephani <phst@google.com>
Sat, 29 Apr 2017 12:38:53 +0000 (14:38 +0200)
commitbfc0f610bac3f97930941e9a66cbcd11cd382167
tree79859d074900b59a51020efc54df3385cc33a80d
parent6a3f331565322b43c41fdf67c6d2dc3feac8cc1c
Integrate module test with normal test suite

* 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.
configure.ac
modules/mod-test/Makefile [deleted file]
modules/mod-test/mod-test.c [deleted file]
modules/mod-test/test.el [deleted file]
test/Makefile.in
test/data/emacs-module/Makefile [new file with mode: 0644]
test/data/emacs-module/mod-test.c [new file with mode: 0644]
test/src/emacs-module-tests.el [new file with mode: 0644]