aboutsummaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add more multisession testsscratch/sqliteLars Ingebrigtsen2021-12-151-0/+31
|
* Document using make-multisession directlyLars Ingebrigtsen2021-12-151-2/+5
|
* Make multisession tests less extensiveLars Ingebrigtsen2021-12-141-1/+1
|
* Unhex package/keys in the files backend and flip defaultsLars Ingebrigtsen2021-12-141-0/+4
|
* Add busy-waiting files testLars Ingebrigtsen2021-12-141-1/+37
|
* Implement a simple file-based multisesson storageLars Ingebrigtsen2021-12-141-2/+30
|
* Rearrange multisession to allow several backendsLars Ingebrigtsen2021-12-141-63/+61
|
* Default to using a write-ahead logLars Ingebrigtsen2021-12-131-2/+1
|
* Tweak multisession stuff and improve concurrencyLars Ingebrigtsen2021-12-131-8/+16
|
* Start thinking about handling contended tablesLars Ingebrigtsen2021-12-121-1/+40
|
* Delete test fileLars Ingebrigtsen2021-12-121-2/+1
|
* Add a multisession testLars Ingebrigtsen2021-12-121-0/+56
|
* Firm up sqlite object checking and add sqlite-closeLars Ingebrigtsen2021-12-081-0/+11
|
* Whitespace changesLars Ingebrigtsen2021-12-071-24/+12
|
* Add support for more in-memory instances, and print betterLars Ingebrigtsen2021-12-071-0/+14
|
* Make sqlite string encoding more efficientLars Ingebrigtsen2021-12-071-0/+19
|
* Fix parametresised selects/executionsLars Ingebrigtsen2021-12-071-4/+24
|
* Add some fixnum/bignum tests for sqlite.cLars Ingebrigtsen2021-12-061-0/+15
|
* Test more mixes of raw bytes/charsLars Ingebrigtsen2021-12-061-2/+5
|
* Add initial implementation of sqlite3 supportLars Ingebrigtsen2021-12-061-0/+105
|
* Tramp code cleanupMichael Albinus2021-12-061-4/+3
| | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-get-default-directory) (tramp-get-buffer-string): New defsubsts. (tramp-message, tramp-error-with-buffer) (tramp-file-name-for-operation, tramp-command-completion-p) (tramp-action-login, tramp-action-yesno, tramp-action-yn) (tramp-action-terminal, tramp-action-confirm-message) (tramp-wait-for-regexp, tramp-call-process) (tramp-call-process-region, tramp-read-passwd): * lisp/net/tramp-cmds.el (tramp-list-remote-buffers) (tramp-reporter-dump-variable): * lisp/net/tramp-gvfs.el (tramp-gvfs-monitor-process-filter): * lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory) (tramp-sh-handle-process-file, tramp-sh-handle-write-region) (tramp-sh-gio-monitor-process-filter): * lisp/net/tramp-smb.el (tramp-smb-action-set-acl): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-name-all-completions): * test/lisp/net/tramp-tests.el (tramp--test-instrument-test-case) (tramp-test32-shell-command): Use them.
* Prefer nil to (current-time) when either will doPaul Eggert2021-12-052-4/+4
| | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/timer.el (timer-event-handler, run-at-time): * lisp/gnus/gnus-score.el (gnus-score-date): * lisp/gnus/gnus-search.el (gnus-search-query-parse-date) (gnus-search-imap-handle-date): * lisp/gnus/gnus-sum.el (gnus-user-date) (gnus-summary-create-article): * lisp/image-dired.el (image-dired-create-thumb-1): * lisp/image/gravatar.el (gravatar-retrieve) (gravatar--prune-cache): * lisp/net/dbus.el (dbus-monitor-handler): * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-set-file-times): * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-times): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-set-file-times): * test/lisp/autorevert-tests.el (auto-revert--wait-for-revert) (auto-revert-tests--write-file, auto-revert-test--wait-for): * test/lisp/net/tramp-tests.el (tramp--test-print-duration): Prefer nil to (current-time) when either will do, as this avoids some consing. Similarly, prefer omitting (current-time) arg when this is equivalent.
* Simplify cedet-utest-elapsed-timePaul Eggert2021-12-051-3/+1
| | | | | | * test/manual/cedet/cedet-utests.el (cedet-utest-elapsed-time): Copy newer (circa-2011) implementation from elp.el, so that the code matches its documentation again.
* Use time-equal-p to compare timestamps in testsPaul Eggert2021-12-051-8/+9
| | | | | | * test/lisp/calendar/time-date-tests.el (test-days-to-time) (test-time-since): Use time-equal-p to compare timestamps, since the default form shouldn’t matter.
* Add time-convert testsPaul Eggert2021-12-051-0/+12
| | | | * test/src/timefns-tests.el (time-convert-forms): New test.
* Merge from origin/emacs-28Stefan Kangas2021-12-061-1/+1
|\ | | | | | | | | | | e3427faf55 Fix typos and improve consistency in ERC manual 0bf10d5082 * test/Makefile.in (check-declare): Add missing --batch. 34f5656137 Document the subtleties of the 'cursor' text property
| * * test/Makefile.in (check-declare): Add missing --batch.Glenn Morris2021-12-051-1/+1
| |
* | vc-git--program-version to support Git for macOS version stringJustin Schell2021-12-061-0/+67
| | | | | | | | | | | | | | | | | | | | | | `git version` on macOS returns e.g., "git version 2.30.1 (Apple Git-130)" and `vc-git--program-version` currently returns "0" instead of "2.30.1". * lisp/vc/vc-git.el (vc-git--program-version): Ignore text after the version number when parsing git versions (bug#52172). Copyright-paperwork-exempt: yes
* | Silence byte-compiler in generator-tests.elStefan Kangas2021-12-051-3/+3
| | | | | | | | | | * test/lisp/emacs-lisp/generator-tests.el (cps-let*-shadow-empty) (cps-let-shadow-empty, cps-let*-parallel): Silence byte-compiler.
* | Silence warnings about testing obsolete functions and macrosStefan Kangas2021-12-054-289/+357
| | | | | | | | | | | | | | | | * test/lisp/emacs-lisp/cl-generic-tests.el: * test/lisp/emacs-lisp/edebug-tests.el: * test/lisp/emacs-lisp/eieio-tests/eieio-test-methodinvoke.el: * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el: Silence byte-compiler warnings about testing obsolete functions and macros.
* | Remove hacks for broken `with-suppressed-warnings'Stefan Kangas2021-12-052-17/+6
| | | | | | | | | | | | * test/lisp/obsolete/cl-tests.el (labels-function-quoting): * test/lisp/tar-mode-tests.el (tar-mode-test-tar-grind-file-mode): Remove hack for broken `with-suppressed-warnings'.
* | Remove hack from seq-tests.el for broken `with-suppressed-warnings'Lars Ingebrigtsen2021-12-051-14/+10
| | | | | | | | | | | | * test/lisp/emacs-lisp/seq-tests.el: `with-suppressed-warnings' now works better in erf-deftests, so remove hack that works around it (bug#36568).
* | eieio-core.el: Allow assignment to cl-structs through `slot-value`Stefan Monnier2021-12-041-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/eieio-core.el (eieio--validate-slot-value): Obey the `:read-only` property of the slot. (eieio-oset): Allow use on cl-structs as well. (eieio-read-only): New error. * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el (eieio-test--struct): Make the last field read-only. (eieio-test-defstruct-slot-value): Test that cl-struct slots can be assigned via `slot-value`.
* | Fix (date-to-time "2021-12-04")Paul Eggert2021-12-041-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should complete the fix for Bug#52209. * lisp/calendar/time-date.el (date-to-time): Apply decoded-time-set-defaults only to the output of (parse-time-string date), and only when the output has a year (to avoid confusion when dates lack years). There is no point applying it after timezone-make-date-arpa-standard since the latter fills in all the blanks. And the former code mistakenly called encode-time on an already-encoded time. This goes back to the code a couple of days ago, except with changed behavior (to fix Bug#52209) only when timezone-make-date-arpa-standard is not called. * test/lisp/calendar/time-date-tests.el (test-date-to-time) (test-days-between): New tests.
* | Silence byte-compiler in some testsStefan Kangas2021-12-0419-101/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/dired-tests.el: * test/lisp/emacs-lisp/cl-macs-tests.el: * test/lisp/emacs-lisp/derived-tests.el: * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el: * test/lisp/emacs-lisp/generator-tests.el: * test/lisp/emacs-lisp/lisp-tests.el: * test/lisp/emacs-lisp/seq-tests.el (test-seq-let) (test-seq-setq): * test/lisp/emacs-lisp/subr-x-tests.el (subr-x-test-if-let*-false) (subr-x-test-if-let*-and-laziness-is-preserved) (subr-x-test-when-let*-false) (subr-x-test-when-let*-and-laziness-is-preserved): * test/lisp/emacs-lisp/timer-tests.el (timer-tests-debug-timer-check): * test/lisp/format-spec-tests.el (format-spec-do-flags-truncate) (format-spec-do-flags-pad): * test/lisp/ls-lisp-tests.el (ls-lisp-test-bug27762): * test/lisp/obsolete/cl-tests.el (labels-function-quoting): * test/lisp/progmodes/elisp-mode-tests.el: * test/lisp/replace-tests.el (replace-regexp-bug45973): * test/lisp/ses-tests.el: * test/lisp/subr-tests.el: * test/lisp/tar-mode-tests.el (tar-mode-test-tar-grind-file-mode): * test/src/data-tests.el (data-tests--set-default-per-buffer): * test/src/search-tests.el (test-replace-match-modification-hooks): Silence byte-compiler.
* | ; Silence byte-compiler warning in testStefan Kangas2021-12-041-1/+1
| | | | | | | | | | * test/lisp/dired-aux-tests.el (dired-test-bug28834): Silence byte-compiler.
* | Add more dired-x testsEli Zaretskii2021-12-031-1/+4
| | | | | | | | | | * test/lisp/dired-x-tests.el (dired-x--string-to-number): Add more tests with various thousands separators.
* | Improve how dired-mark-sexp interprets file sizes in non-C localesLars Ingebrigtsen2021-12-031-0/+7
| | | | | | | | | | * lisp/dired-x.el (dired-x--string-to-number): Try to understand localised numbers (with "." separators or the like) (bug#23373).
* | Merge from origin/emacs-28Stefan Kangas2021-12-031-0/+51
|\ \ | |/ | | | | | | | | | | | | | | | | 9c222b9c1a Port to C compilers that lack size-0 arrays fed35a8951 Port emacsclient to Solaris 10 f35d6a9c73 * CONTRIBUTE: Improve commit message instructions e0ee1d003a Work around IBM XL C compiler bug 6b99b6eb8b * admin/make-tarball.txt: Various clarifications. bbf4140091 * admin/diff-tar-files: Don't assume .tar.gz. 0a50ad11db * lisp/tab-bar.el (tab-bar-close-other-tabs): Fix regression.
| * * lisp/tab-bar.el (tab-bar-close-other-tabs): Fix regression.Juri Linkov2021-12-021-0/+51
| | | | | | | | | | | | * test/lisp/tab-bar-tests.el: New file. (tab-bar-tests-close-other-tabs-with-arg): Test for regression that closed the selected tab after selecting it.
* | Add `cl-constantly' functionLars Ingebrigtsen2021-12-021-0/+5
| | | | | | | | | | * lisp/emacs-lisp/cl-lib.el (cl-constantly): Add Common Lisp function missing (bug#21584).
* | Fix usage of deprecated syntax in some cedet testsMichael Levine2021-12-021-13/+10
| | | | | | | | | | * test/lisp/cedet/srecode/fields-tests.el (srecode-field-utest-impl): Fix deprecated syntax.
* | Change how Dired displays available spaceLars Ingebrigtsen2021-12-016-74/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/dired.texi (Misc Dired Features): Document it (bug#23812). * lisp/dired.el (dired-free-space): New user option. (dired-insert-directory): Use it from here. (dired--insert-disk-space): New function that uses the user option. * lisp/files.el (insert-directory): Don't transform "total" here. * lisp/ls-lisp.el (ls-lisp--insert-directory): Or here. Instead just leave the "total <num>" bit alone, and let Dired transform it. * test/lisp/files-tests.el (files-tests): Move "available" tests to dired-tests. * test/lisp/dired-tests.el (data-dir): Moved here.
* | Fix closure-conversion of shadowed captured lambda-lifted varsMattias Engdegård2021-12-012-0/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lambda-lifted variables (ones passed explicitly to lambda-lifted functions) that are also captured in an outer closure and shadowed were renamed incorrectly (bug#51982). Reported by Paul Pogonyshev. * lisp/emacs-lisp/cconv.el (cconv--lifted-arg): New. (cconv-convert): Provide correct definiens for the closed-over variable. * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--test-cases): * test/lisp/emacs-lisp/cconv-tests.el (cconv-tests--intern-all) (cconv-closure-convert-remap-var): Add tests.
* | Merge from origin/emacs-28Stefan Kangas2021-12-011-1/+35
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | e632b83a28 Update authors.el for Emacs 28 e9fdb11903 ; * ChangeLog.3: Some additional fixes. 8fa4749df1 ; * ChangeLog.3: Filename fixes. ea5a90b4f4 * lisp/repeat.el: Fix long-standing problem when a random ... ef4954b69c * lisp/repeat.el (repeat-keep-prefix): Change default to nil. 6d5886e780 * test/lisp/repeat-tests.el (repeat-tests-call-b): Test fo... 9e16c6a96d ; * src/comp.c (syms_of_comp) <comp-no-native-file-h>: Doc... 9aa8fd6e62 * src/callint.c (Fcall_interactively): Fix inhibit_mouse_e... 70c229b1fc Fix regression in gdb-frame-handler cd9dd26d24 Format and index concept 'predicate' in ELisp Intro ab291656d0 ; * ChangeLog.3: Fix typos. 354f6c5609 ; * ChangeLog.3: Formatting fixes. 6192525a96 ; make change-history-commit
| * * lisp/repeat.el: Fix long-standing problem when a random key activates mapJuri Linkov2021-11-301-0/+34
| | | | | | | | | | | | | | | | | | * lisp/repeat.el (repeat-check-key): New defcustom (bug#51390). (repeat--command-property): New internal function. (repeat-check-key): New function. (repeat-post-hook): Use repeat--command-property and repeat-check-key. * test/lisp/repeat-tests.el (repeat-tests-check-key): New test.
| * * test/lisp/repeat-tests.el (repeat-tests-call-b): Test for commit 588caf0b27.Juri Linkov2021-11-301-1/+1
| | | | | | | | This tests for 'repeat-map' as a variable instead of a symbol.
| * Backport Tramp fixes, don't mergeMichael Albinus2021-11-241-15/+14
| | | | | | | | | | | | | | | | * lisp/net/tramp-sshfs.el (tramp-sshfs-file-name-handler-alist): Use `tramp-handle-file-readable-p'. * test/lisp/net/tramp-archive-tests.el (tramp-archive-test02-file-name-dissect): Use `make-tramp-file-name'.
* | * test/infra/gitlab-ci.yml (.job-template): Modify find scripts.Michael Albinus2021-11-291-2/+2
| |
* | ; Use /usr/bin/find in gitlab-ci.ymlMichael Albinus2021-11-281-2/+2
| |