summaryrefslogtreecommitdiff
path: root/test/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation of test module.Philipp Stephani2019-05-051-4/+7
| | | | | | | | | Because all other objects are compiled without -fPIC, we can’t use them when linking the test module. Instead, use the source files directly. * test/Makefile.in (HYBRID_MALLOC, LIBEGNU_ARCHIVE): Remove. ($(test_module)): Use source files instead of objects and archives.
* * test/Makefile.in (src/emacs-module-tests.elc): Require test modulePhilipp Stephani2019-05-051-1/+1
|
* Unbreak build when building without GMP support.Philipp Stephani2019-04-241-1/+2
| | | | | | | | | | | | | | | | | | | | | Add support for a new preprocessor macro EMACS_MODULE_HAVE_MPZ_T to emacs-module.h. If this macro is defined, assume that mpz_t is already defined and don’t include gmp.h. Don’t document the new macro for now, as it’s unclear whether we want to support this in modules outside the Emacs tree. * src/emacs-module.h.in: Allow user to prevent inclusion of gmp.h. * src/emacs-module.c: Use mini-gmp if GMP is unavailable. Don’t include gmp.h. * src/lisp.h: Don’t require gmp.h. It’s not needed for lisp.h. * test/Makefile.in (GMP_LIB, GMP_OBJ): New variables. ($(test_module)): Use them. * test/data/emacs-module/mod-test.c: Use mini-gmp if GMP is unavailable.
* Add missing GMP library to test module.Philipp Stephani2019-04-241-1/+2
| | | | | * test/Makefile.in (GMP_LIB): Define variable. ($(test_module)): Use it.
* Fix mod-test build failurePaul Eggert2019-02-251-3/+7
| | | | | | | | | Problem reported by Glenn Morris in: https://lists.gnu.org/r/emacs-devel/2019-02/msg00739.html * test/Makefile.in (HYBRID_MALLOC, LIBEGNU_ARCHIVE): New macros, taken from ../src/Makefile.in. (MODULE_CFLAGS): Add -I$(srcdir)/../lib. ($(test_module)): Link $(LIBEGNU_ARCHIVE) too.
* Merge from origin/emacs-26Paul Eggert2018-12-311-1/+1
|\ | | | | | | | | | | 2fcf2df Fix copyright years by hand 26bed8b Update copyright year to 2019 2814292 Fix value of default frame height. (Bug#33921)
| * Update copyright year to 2019Paul Eggert2019-01-011-1/+1
| | | | | | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* | Add test/Makefile machinery to exclude test .el filesGlenn Morris2018-12-101-0/+8
| | | | | | | | | | * test/Makefile.in (EXCLUDE_TESTS): New variable. (ELFILES): Filter out any specified exclude files.
* | Fix ‘make clean’ with a file named ‘-.o’Paul Eggert2018-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem reported by T.V Raman in: https://lists.gnu.org/r/emacs-devel/2018-09/msg00866.html * Makefile.in (clean, extraclean): * doc/emacs/Makefile.in (mostlyclean): * doc/lispintro/Makefile.in (mostlyclean): * doc/lispref/Makefile.in (mostlyclean): * doc/misc/Makefile.in (mostlyclean, clean): * etc/refcards/Makefile (clean): * lib-src/Makefile.in (mostlyclean, extraclean): * lib/Makefile.in (clean): * lwlib/Makefile.in (clean mostlyclean): * oldXMenu/Makefile.in (clean mostlyclean): * src/Makefile.in (mostlyclean, extraclean): * test/Makefile.in (mostlyclean): Say ‘rm ./*.o’ instead of ‘rm *.o’ to avoid undesirable failure when a file name begins with ‘-’.
* | Merge from origin/emacs-26Glenn Morris2018-08-261-1/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 54fb383 (origin/emacs-26) Fix detection of freed emacs_values (Bug#32... 769d0cd ; Fix out-of-tree build for mod-test.so 9a1329e Avoid crashes with very wide TTY frames on MS-Windows 9a613d3 Prevent `modify-file-local-variable-prop-line' from adding ex... 624e7dc Update GNOME bugtracker URLs 51ef6d5 Clarify in the Emacs manual that ChangeLog files are not used 6e08019 Recognize codepage 65001 as a valid encoding 1a350d7 ; * etc/NEWS: Fix format of first lines of some entries. 22d1f53 Avoid compilation warning in nt/addpm.c 7bc9ce7 Fix duplicate custom group names in bibtex.el a9cf938 Fix outdated text in the Calc manual Conflicts: etc/NEWS etc/PROBLEMS src/emacs-module.c src/gtkutil.c src/image.c src/xterm.c test/Makefile.in
| * ; Fix out-of-tree build for mod-test.soNoam Postavsky2018-08-251-2/+4
| | | | | | | | | | * test/Makefile.in: Don't look for emacs-module.h in $(srcdir), since it is generated.
* | ; Remove tracing for epg-tests (Bug#23561)Noam Postavsky2018-07-161-1/+0
| |
* | ; Trace epg-tests gpg config finding (Bug#23561)Noam Postavsky2018-07-141-0/+1
| |
* | Merge from origin/emacs-26Glenn Morris2018-06-181-8/+29
|\ \ | |/ | | | | | | | | | | | | | | | | 5bdc344 ; Reduce quoting for SELECTOR in 'make -C test' (Bug#31744) b6b793b ; test/Makefile.in: Add TEST_INTERACTIVE option (Bug#31744). 1aa906f Make 'tags' targets respect --with-silent-rules (Bug#31744) Conflicts: test/Makefile.in test/README
| * ; Reduce quoting for SELECTOR in 'make -C test' (Bug#31744)Noam Postavsky2018-06-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before: make -C test SELECTOR='\"foo\"' make -C test SELECTOR='(quote (tag :some-tag))' After: make -C test SELECTOR='"foo"' make -C test SELECTOR='(tag :some-tag)' * test/Makefile.in: Use single quotes around the command line call to ert, this means the user doesn't have to backslash escape double quotes when writing lisp strings for the selector. Also wrap the SELECTOR value in (quote ...) so the user won't have to type it in (and not get tempted to use the '... reader syntax form which would now fail to work due to using single quotes around the whole shell arg). * test/README: Update instructions accordingly.
| * ; test/Makefile.in: Add TEST_INTERACTIVE option (Bug#31744).Noam Postavsky2018-06-121-6/+27
| | | | | | | | * test/README: Note the new option.
* | Print top time consuming tests if advisedMichael Albinus2018-03-191-1/+2
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New argument HIGH. Print top-running tests. * test/Makefile.in (check-doit): Use ${SUMMARIZE_TESTS}. * test/README: Explain SUMMARIZE_TESTS.
* | Print test timings unconditionallyMichael Albinus2018-03-171-5/+0
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert-batch-print-duration): Remove. (ert-run-tests-batch): Adapt accordingly. * test/Makefile.in: * test/README: Remove TEST_PRINT_TEST_DURATION.
* | Optimize "make check" and "make check-maybe"Michael Albinus2018-03-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert-run-tests-batch): Print summary duration. * test/Makefile.in (TEST_LOAD_EL): Set default to "no" for targets all, check, and check-maybe. (Bug#30807) * test/README: Reflect recent changes in Makefile. * test/lisp/net/tramp-archive-tests.el (tramp-archive-test99-libarchive-tests): Tag it :unstable.
* | Extend ert to print duration of single testsMichael Albinus2018-03-141-4/+10
| | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert-test-result): New slot ´duration'. (ert-run-or-rerun-test): Set it. (ert-batch-print-duration): New defvar. (ert-run-tests-batch): Print duration if needed. * test/Makefile.in (TEST_PRINT_TEST_DURATION): New variable. * test/README: Explain TEST_PRINT_TEST_DURATION.
* | ; Revert "; Tracing for eieio-test random failure (Bug#24503)"Noam Postavsky2018-03-101-1/+0
| | | | | | | | The tracing seems to prevent the bug from happening.
* | * test/Makefile.in (check-declare): New PHONY rule.Glenn Morris2018-03-091-0/+6
| |
* | Speed up parallel make check by testing slower files firstGlenn Morris2018-02-211-0/+8
| | | | | | | | | | * test/Makefile.in (SLOW_TESTS): New variable. (ELFILES): Move slow tests to the front.
* | Fix emacs-module-tests to work out of build treeAndy Moreton2018-01-261-2/+3
| | | | | | | | | | | | | | | | | | * test/Makefile.in (test_module_dir): Build the test module library in a subdirectory of the build directory (not the source tree). (MODULE_CFLAGS): Fix location of emacs-module.h header file. (test_module): Move built library out of the source tree. * test/src/emacs-module-tests.el (mod-test-file): Locate the test module library relative to the running Emacs executable.
* | Merge from origin/emacs-26Glenn Morris2018-01-201-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | cfc94fd (origin/emacs-26) Don't mention 'vc-stay-local' in the user m... 8ce430b Fix a typo in calendar.texi bb748b3 Minor improvement in wording of the Emacs manual b603aff Revert "Fix tempfile creation when byte compiling" 4fd446e Fix tempfile creation when byte compiling 7f48a11 Improve the Emacs manual as suggested in emacs-manual-bugs 728ded0 * lisp/emacs-lisp/bytecomp.el: Tweak last change c6c05e2 Unbreak building Emacs on FreeBSD a41ad3d Don't unnecessarily use non-ASCII characters in C sources c28d4b6 Portability fixes in emacs-module-tests 1d50c18 Add tests for term.el
| * Portability fixes in emacs-module-testsEli Zaretskii2018-01-191-0/+1
| | | | | | | | | | | | | | | | | | | | * test/Makefile.in (abs_top_srcdir): Add variable, needed by CPPFLAGS. * test/data/emacs-module/mod-test.c: Include <limits.h>. (pT, pZ, T_TYPE, Z_TYPE): Compatibility macros, for systems that don't support %td and %zu format specs. (emacs_module_init): Use compatibility macros to make the error messages print meaningful values (and avoid compiler warnings).
* | Merge from origin/emacs-26Glenn Morris2018-01-151-2/+8
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c0cfa6455 * ChangeLog.3: Update 4387bb44ae Update authors bce51bd6f7 * lisp/gnus/message.el (message-do-auto-fill): Prevent do-... bd2a2a1e84 Improve documentation of etags 7ba75b9637 Teach etags new interpreters for some languages 1f7f03742d * lisp/emacs-lisp/generator.el (iter-defun): Add 'doc-stri... dbb4aac212 * lisp/emacs-lisp/syntax.el (syntax-propertize): Fix bug#2... 80463a43da Improve documentation of fill-separate-heterogeneous-words... 4bd2416d55 Fix documentation of some x-* functions 9c2b11484f Inherit query-on-exit flag to stderr process (Bug#30031) 3efb1e7def Fix Bug#30057 a9b884c60f Tag some unstable tests, and skip by default (bug#24503) # Conflicts: # test/lisp/emacs-lisp/eieio-tests/eieio-tests.el
| * Tag some unstable tests, and skip by default (bug#24503)Glenn Morris2018-01-091-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (check-all): New phony target. * test/Makefile.in (SELECTOR_DEFAULT, SELECTOR_EXPENSIVE): Also skip unstable tests. (SELECTOR_ALL): New variable. (check-all): New phony target. * test/lisp/emacs-lisp/eieio-tests/eieio-test-methodinvoke.el (eieio-test-method-order-list-6): * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el (eieio-test-37-obsolete-name-in-constructor): Mark as unstable rather than skipping on hydra.nixos.org.
* | Merge from origin/emacs-26Paul Eggert2018-01-011-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63b04c11d5 Fix copyright years by hand 5c7dd8a783 Update copyright year to 2018 220a9ecba1 Merge from Gnulib 312c565566 Don't add empty keyboard macro to macro ring (Bug#24992) 39ca289a7a Allow customization of decoding of "man" command f8240815ea * etc/NEWS: Add security consideration note on passphrase ... 0c78822c70 Fix subtle problem with scroll-down when scroll-margin is ... acd289c5a4 Fix problems with indexing in User manual b240c7846b * lisp/help.el (describe-key): Only (copy-sequence elt) wh... e879a5444a * src/buffer.c (Frestore_buffer_modified_p): Fix bug#29846 81b1028b63 Improve documentation of 'inhibit-modification-hooks' and ... 7175496d7a Fix doc string of 'enable-recursive-minibuffers' 5b38406491 Fix documentation of delsel and of killing text # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex
| * Update copyright year to 2018Paul Eggert2018-01-011-1/+1
| | | | | | | | Run admin/update-copyright.
| * ; Remove Tramp test instrumentation. Do not mergeMichael Albinus2017-11-171-2/+1
| | | | | | | | | | | | | | * test/Makefile.in: Remove instrumentation for tramp-tests. * test/lisp/net/tramp-tests.el (tramp-test41-asynchronous-requests): Remove instrumentation.
* | * test/Makefile.in (url-tramp-test.log): Do not handle special.Michael Albinus2017-12-091-1/+0
| |
* | ; Tracing for eieio-test random failure (Bug#24503)Noam Postavsky2017-12-031-2/+8
|/ | | | | | | | * test/Makefile.in [EMACS_HYDRA_CI]: Always show log for eieio-tests. * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el (top-level): Trace cl-generic functions. (eieio-test-dump-trace): New function. (eieio-test-37-obsolete-name-in-constructor): Use it.
* Prefer HTTPS to FTP and HTTP in documentationPaul Eggert2017-09-131-1/+1
| | | | | | | | | | | | | Most of this change is to boilerplate commentary such as license URLs. This change was prompted by ftp://ftp.gnu.org's going-away party, planned for November. Change these FTP URLs to https://ftp.gnu.org instead. Make similar changes for URLs to other organizations moving away from FTP. Also, change HTTP to HTTPS for URLs to gnu.org and fsf.org when this works, as this will further help defend against man-in-the-middle attacks (for this part I omitted the MS-DOS and MS-Windows sources and the test tarballs to keep the workload down). HTTPS is not fully working to lists.gnu.org so I left those URLs alone for now.
* Allow for adjusting line length of test backtracesGlenn Morris2017-09-051-1/+12
| | | | | * test/Makefile.in (TEST_BACKTRACE_LINE_LENGTH): New option. (%.log): Respect backtrace line length.
* * test/Makefile.in (check-no-automated-subdir): Silence by default.Glenn Morris2017-09-011-1/+1
|
* * test/Makefile.in (ELFILES): Sort, for a reproducible order.Glenn Morris2017-09-011-2/+2
|
* Treat tests in lib-src like tests in srcReuben Thomas2017-08-221-2/+2
| | | | | | * test/Makefile.in (test_template): Depend on a .c source file for a test under lib-src, as for src. (Thanks, Glenn Morris for pointing me in the right direction.)
* Use a more specific test for running on hydra.nixos.orgGlenn Morris2017-07-181-1/+1
| | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): * test/Makefile.in (WRITE_LOG): * test/lisp/filenotify-tests.el: * test/lisp/emacs-lisp/eieio-tests/eieio-test-methodinvoke.el (eieio-test-method-order-list-6): * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el (eieio-test-37-obsolete-name-in-constructor): * test/lisp/net/tramp-tests.el: Replace NIX_STORE with EMACS_HYDRA_CI.
* ; Improve tramp-tests tracesMichael Albinus2017-07-131-3/+3
|
* ; Enable traces for tramp-tests.el on hydraMichael Albinus2017-07-121-1/+2
|
* Fix tramp-tests.el for hydraMichael Albinus2017-07-031-2/+1
| | | | | | | | * test/Makefile.in: Remove instrumentation for tramp-tests. * test/lisp/net/tramp-tests.el (tramp-test36-asynchronous-requests): Remove instrumentation. Wrap with a timeout. Give hydra another timer value. Set `default-directory' in timer.
* ; Fix last commitMichael Albinus2017-07-011-1/+1
|
* ; Instrument test/Makefile.in for tramp-tests output on hydraMichael Albinus2017-07-011-1/+2
|
* * test/Makefile.in: Don't suppress test failure for single tests.Noam Postavsky2017-06-171-4/+6
|
* Use --module-assertions if modules are availablePhilipp Stephani2017-06-141-1/+7
| | | | | | | | Using --module-assertions helps us find bugs in the test module. But we can use it only if Emacs was compiled with module support. * test/Makefile.in (MODULES_EMACSOPT): New variable. (emacs): Use it.
* Fix running tests in without-modules buildsGlenn Morris2017-06-131-1/+1
| | | | | * test/Makefile.in (EMACSOPT): Remove option that is only defined with-modules. emacs-module-tests.el passes it where needed.
* * test/Makefile.in (src/emacs-module-tests.log): Out-of-tree fix.Glenn Morris2017-06-131-4/+3
|
* Inline test module Makefile into main test MakefilePhilipp Stephani2017-06-131-4/+30
| | | | | | | | | | | The test/data/emacs-module/Makefile only built a single target, and inlining it into test/Makefile simplifies dependency tracking and reduces code duplication. * configure.ac: Don't build test/data/emacs-module/Makefile. * Makefile.in ($(test_module)): Inline compilation. (clean): Also clean test module outputs.
* Use Autoconf to generate the test module MakefilePhilipp Stephani2017-06-121-1/+1
| | | | | | | | | | | | | This makes it easier to pass compilation flags around. * configure.ac: Also build test module Makefile. * test/data/emacs-module/Makefile.in: New makefile template. * test/Makefile.in ($(test_module)): No longer necessary to pass @MODULES_SUFFIX@ around. * .gitignore: Test module Makefile can now be ignored.