summaryrefslogtreecommitdiff
path: root/test/README
AgeCommit message (Collapse)Author
2026-01-24Improve handling of not-parallel test runsMichael Albinus
* test/Makefile.in: Distinguish between parallel and not-parallel tests. Mark lisp/autorevert-tests.log, lisp/filenotify-tests.log and lisp/net/tramp-tests.log to run not-parrallel. (Bug#80164) * test/README: Some of the tests do not run parallel when expensive tests are activated. * test/infra/gitlab-ci.yml (.job-template): Use "make -j". Makefile knows how to handle parallel runs properly.
2026-01-11Don't use "make -j" when running testsMichael Albinus
* test/infra/gitlab-ci.yml (.job-template): * test/README: Don't use "make -j".
2026-01-09* test/README: Specify, how to invoke "make". (Bug#80112)Michael Albinus
2026-01-01; Add 2026 to copyright years.Sean Whitton
2025-09-09Add convenience path/to/component target to tests/Makefile.inLockywolf
* test/Makefile.in (subdir_template): Add convenience targets. * test/README: Mention this.
2025-05-13* test/README: Tests in *-tests/ directories are also performed.Michael Albinus
2025-01-01Update copyright year to 2025Paul Eggert
Run "TZ=UTC0 admin/update-copyright".
2024-04-30* test/README (EMACS_EXTRAOPT): Add environment variable.Michael Albinus
2024-01-02; Add 2024 to copyright yearsPo Lu
2023-01-01; Add 2023 to copyright years.Eli Zaretskii
2022-12-15* test/README (SELECTOR): Add eglot-tests.el to remote file using libraries.Michael Albinus
2022-06-08Factor out test configuration for remote filesMichael Albinus
* lisp/emacs-lisp/ert-x.el (tramp-methods) (tramp-default-host-alist): Declare. (ert-remote-temporary-file-directory): New defconst. * test/README: Mention dnd-tests.el. * test/lisp/autorevert-tests.el (auto-revert-test-remote-temporary-file-directory): Remove. Replace all uses by `ert-remote-temporary-file-directory'. * test/lisp/dnd-tests.el (ert-x): Require. (dnd-tests-temporary-file-directory): Remove. Replace all uses by `ert-remote-temporary-file-directory'. * test/lisp/filenotify-tests.el (file-notify-test-remote-temporary-file-directory): Remove. Replace all uses by `ert-remote-temporary-file-directory'. * test/lisp/shadowfile-tests.el (ert-x): Require. (shadow-test-remote-temporary-file-directory): Remove. Replace all uses by `ert-remote-temporary-file-directory'. * test/lisp/net/tramp-tests.el: Don't require ert. (ert-remote-temporary-file-directory): Define if it doesn't exist. (tramp-test-temporary-file-directory): Remove. Replace all uses by `ert-remote-temporary-file-directory'.
2022-02-22Remove the ELPA dependencies from test/Makefile.inLars Ingebrigtsen
* test/Makefile.in: Remove the ELPA dependencies, because it's pretty confusing when trying to debug things. * test/README (SELECTOR): Remove mention of the now-removed GNU_ELPA_DIRECTORY variable. * test/lisp/net/ntlm-tests.el (push): Add the ELPA dependencies here, which keeps it contained to one test file. This also fixes bug#53586, since the obsoletion of `body' came from web-server.el.
2022-01-21Interpret a "" value of EMACS_TEST_VERBOSE as "off"Lars Ingebrigtsen
* doc/misc/ert.texi (Running Tests in Batch Mode): Adjust doc. * lisp/emacs-lisp/ert.el (ert-run-tests-batch): Allow overriding the EMACS_TEST_VERBOSE variable by setting it to "" (bug#53313).
2022-01-01Merge from origin/emacs-28Eli Zaretskii
836be7a112 ; * etc/refcards/ru-refcard.tex: Update Copyright year. 86cbc6ee4a * lisp/net/tramp-sh.el: Adapt copyright year ebe8772f65 ; Minor fixes related to copyright years 23c1ee6989 ; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye... 8d3fc7ec89 * src/xfaces.c (face_for_font): Make 'hash' be uintptr_t. 19dcb237b5 ; Add 2022 to copyright years. # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex # lib/cdefs.h # lisp/erc/erc-dcc.el # lisp/erc/erc-imenu.el # lisp/erc/erc-replace.el # lisp/image-dired.el # lisp/progmodes/xref.el # m4/alloca.m4 # m4/byteswap.m4 # m4/errno_h.m4 # m4/getopt.m4 # m4/gnulib-common.m4 # m4/inttypes.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/sys_socket_h.m4
2022-01-01; Add 2022 to copyright years.Eli Zaretskii
2021-12-13ERT can generate JUnit test reportsMichael Albinus
* .gitignore: Add test/**/*.xml. * admin/notes/emba: Mention JUnit test report. * etc/NEWS: ERT can generate JUnit test reports. * lisp/emacs-lisp/ert.el (xml-escape-string): Autoload. (ert-write-junit-test-report) (ert-write-junit-test-summary-report): New defuns. (ert-run-tests-batch, ert-summarize-tests-batch-and-exit): Call them. * test/Makefile.in (clean): Remove *.xml. * test/README: Mention $EMACS_TEST_JUNIT_REPORT environment variable. * test/infra/Makefile.in ($(FILE)): Generate header commentary. (clean): Remove. * test/infra/gitlab-ci.yml (variables): Set EMACS_TEST_JUNIT_REPORT. (.job-template): Use it in script and after_script. (.build-template, .gnustep-template, .filenotify-gio-template) (.native-comp-template): Adapt rules. (.test-template): Trigger JUnit test report. * test/infra/test-jobs.yml: Regenerate.
2021-10-16Set EMACS_TEST_TIMEOUT for embaMichael Albinus
* test/Makefile.in: Support EMACS_TEST_TIMEOUT environment variable. * test/README: Mention EMACS_TEST_TIMEOUT environment variable. * test/infra/gitlab-ci.yml (variables): Set default value of EMACS_TEST_TIMEOUT. (.job-template): Propagate EMACS_TEST_TIMEOUT and EMACS_TEST_VERBOSE. (test-all-inotify): Set specific EMACS_TEST_TIMEOUT.
2021-10-04* test/README: Mention :nativecomp tag.Michael Albinus
2021-07-01Handle test environment variablesMichael Albinus
* lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): Check also for EMACS_EMBA_CI. * test/README (SELECTOR): Mention EMACS_TEST_VERBOSE. * test/infra/gitlab-ci.yml (variables): Set EMACS_TEST_VERBOSE.
2021-05-20Improve documentation of 'etags' testsEli Zaretskii
* test/manual/etags/README: New file. (Bug#46055) * test/README: Mention separate README files for tests in the 'manual' subdirectory
2021-03-16Fix problem of image-tests.el on embaMichael Albinus
* test/README: Mention $EMACS_TEST_DIRECTORY. * test/lisp/image-tests.el (image-tests--emacs-images-directory): Use `data-directory', for runs w/o of make. (image-type/from-filename): Check for `image-load-path'.
2021-02-19; Fix indentation in test/READMEMichael Albinus
2021-02-18Implement NTLM server for ntlm.el testingThomas Fitzsimmons
* test/Makefile.in (GNU_ELPA_DIRECTORY, elpa_dependencies, elpa_els, elpa_opts): New variables. (EMACSOPT, ert_opts): Add elpa_opts. * test/README: Document GNU_ELPA_DIRECTORY make variable. * test/lisp/net/ntlm-tests.el: Fix checkdoc-reported issues. (ntlm-tests-message, ntlm-server-build-type-2, ntlm-server-hash) (ntlm-server-check-authorization, ntlm-server-do-token) (ntlm-server-filter, ntlm-server-handler, ntlm-server-start) (ntlm-server-stop, ntlm-tests--url-retrieve-internal-around) (ntlm-tests--authenticate) (ntlm-tests--start-server-authenticate-stop-server): New functions. (ntlm-tests--username-oem, ntlm-tests--username-unicode) (ntlm-tests--client-supports-unicode, ntlm-tests--challenge) (ntlm-tests--result-buffer, ntlm-tests--successful-result): New variables. (ntlm-authentication) (ntlm-authentication-old-compatibility-level): New tests. * test/lisp/net/ntlm-resources/authinfo: New file. (Bug#43566)
2021-01-19Handle also test/lib-src directoryMichael Albinus
* test/Makefile.in (SUBDIRS): Add lib-src. * test/README: Add predefined selectors. * test/file-organization.org: Mention test/lib-src directory.
2021-01-17Add new targets to test/MakefileMichael Albinus
* test/Makefile.in (SUBDIRS): New variable. (subdir_template): New template. (top) Create new check-<dirname> targets. * test/README: Document them. * test/infra/gitlab-ci.yml (test-lisp-net-inotify): Rename.
2021-01-14EMBA infrastructure improvements for Emacs build testing.Ted Zlatanov
* .gitlab-ci.yml: Use job templates and rules. Split tests into fast/normal/slow. Make Docker images for each tested platform (inotify, filenotify-gio, gnustep). Increase timeout. * test/Makefile.in (check-lisp, check-net): Add new testing targets. * test/README: Document them. * test/file-organization.org: Mention test/infra. * test/infra/Dockerfile.emba: Add special Docker recipes for EMBA testing.
2021-01-01Update copyright year to 2021Paul Eggert
Run "TZ=UTC0 admin/update-copyright".
2020-12-09Support highlighting of ripgrep output (bug#44983)Juri Linkov
* etc/grep.txt: Add ripgrep samples. * lisp/progmodes/grep.el (grep-match-regexp): Highlight ripgrep matches too. (grep-regexp-alist): Remove $ to highlight ripgrep binary file matches.
2020-10-31* test/README: Document TEST_BACKTRACE_LINE_LENGTH.Stefan Kangas
2020-08-04Add Tramp support of direct asynchronous process invocationMichael Albinus
* doc/misc/tramp.texi (Predefined connection information): Add "direct-async-process". (Remote processes): New subsection "Improving performance of asynchronous remote processes". * lisp/net/tramp-adb.el (tramp-methods) <adb>: Add `tramp-login-program' and `tramp-login-args'. (tramp-adb-handle-make-process): Use `tramp-handle-make-process'. (tramp-adb-maybe-open-connection): Add "set +o vi +o emacs" command. * lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Use `tramp-handle-make-process'. (tramp-sh-file-name-handler-p, tramp-multi-hop-p): New defuns. (tramp-compute-multi-hops): Use `tramp-multi-hop-p'. * lisp/net/tramp.el (tramp-dissect-file-name, tramp-dissect-hop-name): Use `tramp-multi-hop-p'. (tramp-handle-insert-file-contents, tramp-local-host-p): Use `tramp-sh-file-name-handler-p'. (tramp-handle-make-process): New defun. * test/README: Add another example how to use SELECTOR. * test/lisp/net/tramp-tests.el (tramp-test03-file-name-method-rules): Adapt test. (tramp--test-sh-p): Use `tramp-sh-file-name-handler-p'.
2020-01-01Update copyright year to 2020Paul Eggert
Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
2019-08-28Clarify meaning of <filename> in test/READMEMichael Albinus
2019-07-13; Some precisements in test/READMEMichael Albinus
2019-01-03Adapt test/READMEMichael Albinus
* test/README: Speak about continous integration tests on hydra and emba.
2018-12-31Merge from origin/emacs-26Paul Eggert
2fcf2df Fix copyright years by hand 26bed8b Update copyright year to 2019 2814292 Fix value of default frame height. (Bug#33921)
2019-01-01Update copyright year to 2019Paul Eggert
Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
2018-11-16Merge from origin/emacs-26Glenn Morris
edcd6b7 Small documentation correction. 168a8c2 * src/coding.c (Fcheck_coding_systems_region): Doc fix. (Bug... 3287a7c Fix Bug#33364 acee0a8 ; Cosmetic changes in etc/NEWS a6ef167 * test/README: Explain $REMOTE_TEMPORARY_FILE_DIRECTORY. # Conflicts: # etc/NEWS
2018-11-13* test/README: Explain $REMOTE_TEMPORARY_FILE_DIRECTORY.Michael Albinus
2018-06-18Merge from origin/emacs-26Glenn Morris
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
2018-06-12; Reduce quoting for SELECTOR in 'make -C test' (Bug#31744)Noam Postavsky
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.
2018-06-12; test/Makefile.in: Add TEST_INTERACTIVE option (Bug#31744).Noam Postavsky
* test/README: Note the new option.
2018-03-19; Spelling fixPaul Eggert
2018-03-19Print top time consuming tests if advisedMichael Albinus
* 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.
2018-03-17Print test timings unconditionallyMichael Albinus
* 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.
2018-03-16Optimize "make check" and "make check-maybe"Michael Albinus
* 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.
2018-03-14; * test/README: Fix typoMichael Albinus
2018-03-14Extend ert to print duration of single testsMichael Albinus
* 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.
2018-01-26; test/README: Document TEST_LOAD_EL parameter.Noam Postavsky
2018-01-01Update copyright year to 2018Paul Eggert
Run admin/update-copyright.