1. 30 Jul, 2020 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · 5d89a9c2
      Paul Eggert authored
      This incorporates:
      2020-07-30 work around some Oracle Studio attribute bugs
      2020-07-29 fsusage, regex, stat-size: remove Cray support
      2020-07-26 inttypes: remove support for AIX 4
      2020-07-26 gettimeofday: remove workaround for Mac OS X 10.0
      2020-07-26 don't require gl_LOCALTIME_BUFFER_DEFAULTS
      2020-07-26 alloca: remove Cray-2 and Cray Y-MP support
      2020-07-26 libgmp: remove dependency on havelib
      2020-07-26 libgmp: remove HAVE_GMP, LIB_GMP
      2020-07-25 multiarch: prepare for x86_64+arm64 universal in macOS 11
      2020-07-25 sigprocmask: small autoconf macro improvement
      2020-07-25 small autoconf macro improvements
      2020-07-24 timespec: remove dependence on ‘verify’
      2020-07-24 optimize a few more three-valued comparisons
      2020-07-24 fix _GL_CMP parenthesization typo
      2020-07-23 optimize three-valued comparison between integers
      2020-07-24 doc: update for Mac OS X 10.13
      2020-07-23 fchmodat, lchmod: use /proc on Cygwin
      2020-07-21 inttypes: fix PRI*PTR and SCN*PTR on 64-bit native Windows
      2020-07-12 libgmp: avoid warning when --without-libgmp is used
      2020-07-12 libgmp: link to the correct shared library
      * lib/mini-gmp-gnulib.c: Ignore -Wsuggest-attribute=malloc only for
      * build-aux/config.guess, build-aux/config.sub:
      * build-aux/install-sh, doc/misc/texinfo.tex, lib/c-strcasecmp.c:
      * lib/c-strncasecmp.c, lib/fchmodat.c, lib/fsusage.c:
      * lib/gettimeofday.c, lib/inttypes.in.h, lib/lchmod.c:
      * lib/mini-gmp-gnulib.c, lib/nstrftime.c, lib/regex.h, lib/timespec.h:
      * m4/alloca.m4, m4/getgroups.m4, m4/gettimeofday.m4:
      * m4/gnulib-common.m4, m4/inttypes.m4, m4/libgmp.m4, m4/mktime.m4:
      * m4/multiarch.m4:
      Copy from Gnulib.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * src/Makefile.in, test/Makefile.in (LIBGMP):
      Rename from LIB_GMP for compatibility with Gnulib.
      All uses changed.
  2. 09 Jul, 2020 2 commits
    • Paul Eggert's avatar
      Fix out-of-source ‘make check’ emacs-module-tests · c86f3fe0
      Paul Eggert authored
      Problem reported by Koki Fukuda in:
      * test/Makefile.in (MODULE_CFLAGS):
      Include from the same directories included from in ../src.
      * test/src/emacs-module-tests.el (module/describe-function-1):
      Strip path to source directory.
    • Paul Eggert's avatar
      Use Gnulib libgmp module · c8b6006d
      Paul Eggert authored
      Instead of doing GMP by hand, use the Gnulib libgmp module.
      * .gitignore: Add lib/gmp.h.
      * admin/merge-gnulib (GNULIB_MODULES): Add libgmp.
      * configure.ac (GMP_LIB, GMP_OBJ): Remove.  Gnulib uses the name
      LIB_GMP, so all uses changed.  All uses of GMP_OBJ removed.
      (HAVE_GMP): Set this from Gnulib’s variables.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * lib/mini-gmp-gnulib.c, lib/mini-gmp.c, lib/mini-gmp.h, m4/libgmp.m4:
      New files, copied from Gnulib.
      * src/bignum.h, test/data/emacs-module/mod-test.c:
      Include gmp.h unconditionally.
      * src/mini-gmp-emacs.c, src/mini-gmp.c, src/mini-gmp.h:
      Remove.  This moves these files from src to lib, and
      updates them to the current GMP version.
      * test/Makefile.in (GMP_H): New macro.
      ($(test_module)): Use it to decide whether to compile
      mini-gmp-gnulib.c too.
  3. 01 Jan, 2020 1 commit
  4. 27 Aug, 2019 1 commit
  5. 17 Aug, 2019 1 commit
  6. 04 May, 2019 2 commits
  7. 24 Apr, 2019 2 commits
    • Philipp Stephani's avatar
      Unbreak build when building without GMP support. · 4eb7f9ef
      Philipp Stephani authored
      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.
    • Philipp Stephani's avatar
      Add missing GMP library to test module. · 553220fc
      Philipp Stephani authored
      * test/Makefile.in (GMP_LIB): Define variable.
      ($(test_module)): Use it.
  8. 26 Feb, 2019 1 commit
  9. 01 Jan, 2019 1 commit
  10. 11 Dec, 2018 1 commit
  11. 24 Sep, 2018 1 commit
    • Paul Eggert's avatar
      Fix ‘make clean’ with a file named ‘-.o’ · 36243179
      Paul Eggert authored
      Problem reported by T.V Raman in:
      * 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 ‘-’.
  12. 25 Aug, 2018 1 commit
  13. 16 Jul, 2018 1 commit
  14. 14 Jul, 2018 1 commit
  15. 12 Jun, 2018 2 commits
    • Noam Postavsky's avatar
      ; Reduce quoting for SELECTOR in 'make -C test' (Bug#31744) · 5bdc3447
      Noam Postavsky authored
          make -C test SELECTOR='\"foo\"'
          make -C test SELECTOR='(quote (tag :some-tag))'
          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
      * test/README: Update instructions accordingly.
    • Noam Postavsky's avatar
      ; test/Makefile.in: Add TEST_INTERACTIVE option (Bug#31744). · b6b793bd
      Noam Postavsky authored
      * test/README: Note the new option.
  16. 19 Mar, 2018 1 commit
    • Michael Albinus's avatar
      Print top time consuming tests if advised · 1979bce5
      Michael Albinus authored
      * 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.
  17. 17 Mar, 2018 1 commit
    • Michael Albinus's avatar
      Print test timings unconditionally · bcec2a8a
      Michael Albinus authored
      * lisp/emacs-lisp/ert.el (ert-batch-print-duration): Remove.
      (ert-run-tests-batch): Adapt accordingly.
      * test/Makefile.in:
  18. 16 Mar, 2018 1 commit
    • Michael Albinus's avatar
      Optimize "make check" and "make check-maybe" · 2d0853f6
      Michael Albinus authored
      * 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.
  19. 14 Mar, 2018 1 commit
    • Michael Albinus's avatar
      Extend ert to print duration of single tests · 84a946a5
      Michael Albinus authored
      * 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.
  20. 11 Mar, 2018 1 commit
  21. 09 Mar, 2018 1 commit
  22. 22 Feb, 2018 1 commit
  23. 26 Jan, 2018 1 commit
    • Andy Moreton's avatar
      Fix emacs-module-tests to work out of build tree · e08f2416
      Andy Moreton authored
      * 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.
  24. 19 Jan, 2018 1 commit
    • Eli Zaretskii's avatar
      Portability fixes in emacs-module-tests · c28d4b6d
      Eli Zaretskii authored
      * test/Makefile.in (abs_top_srcdir): Add variable, needed by
      * 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).
  25. 10 Jan, 2018 1 commit
    • Glenn Morris's avatar
      Tag some unstable tests, and skip by default (bug#24503) · a9b884c6
      Glenn Morris authored
      * Makefile.in (check-all): New phony target.
      Also skip unstable tests.
      (SELECTOR_ALL): New variable.
      (check-all): New phony target.
      * test/lisp/emacs-lisp/eieio-tests/eieio-test-methodinvoke.el
      * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el
      Mark as unstable rather than skipping on hydra.nixos.org.
  26. 01 Jan, 2018 1 commit
  27. 09 Dec, 2017 1 commit
  28. 03 Dec, 2017 1 commit
    • Noam Postavsky's avatar
      ; Tracing for eieio-test random failure (Bug#24503) · cfa50d30
      Noam Postavsky authored
      * 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.
  29. 17 Nov, 2017 1 commit
  30. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      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.
  31. 06 Sep, 2017 1 commit
  32. 01 Sep, 2017 2 commits
  33. 22 Aug, 2017 1 commit
  34. 18 Jul, 2017 1 commit
    • Glenn Morris's avatar
      Use a more specific test for running on hydra.nixos.org · 5ab91020
      Glenn Morris authored
      * 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
      * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el
      * test/lisp/net/tramp-tests.el: Replace NIX_STORE with EMACS_HYDRA_CI.
  35. 13 Jul, 2017 1 commit