summaryrefslogtreecommitdiff
path: root/test/automated
Commit message (Collapse)AuthorAgeFilesLines
...
| * Further adaptions in file-notify-tests.el for w32notifyMichael Albinus2016-02-231-69/+76
| | | | | | | | | | | | | | | | | | | | | | * test/automated/file-notify-tests.el (file-notify--test-read-event-timeout, file-notify--test-timeout): Decrease values. (file-notify-test03-autorevert) (file-notify-test04-file-validity) (file-notify-test05-dir-validity): Run tests also for w32notify. (file-notify-test08-watched-file-in-watched-dir): Adapt expected events for w32notify.
* | Move cl-seq-tests to the right place after the mergeLars Ingebrigtsen2016-03-041-42/+0
| |
* | Merge from origin/emacs-25John Wiegley2016-03-031-0/+42
|\| | | | | | | | | | | | | | | 6620944 (cl-union): Do not ignore :test argument when lists are equal. 17dd3fb Add `isearch' to `basic-faces' c1ec743 Make $, : and @ "prefix characters" in ruby-mode e72a26e Make find-tag-default-bounds more strict 1bc0e0a Minor fixes in filenotify.el
| * (cl-union): Do not ignore :test argument when lists are equal.Nicolas Richard2016-02-231-0/+42
| | | | | | | | | | | | * cl-seq.el (cl-union): Do not ignore :test argument when lists are equal. * test/automated/cl-seq-tests.el: New file (bug#22729).
| * Additional fixes for file notificationMichael Albinus2016-02-221-100/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/filenotify.el (top): Require 'cl when compiling. (file-notify--event-watched-file): New defun. (file-notify--rm-descriptor, file-notify-callback): Handle case of several monitors running in parallel. * test/automated/file-notify-tests.el (file-notify--test-event-test): Simplify test. (file-notify--test-with-events): Get rid of outer definition. Check also results of tests performed in callbacks. (file-notify-test02-events): No wrapping when calling `file-notify-rm-watch'. No special checking for callback tests. (file-notify-test07-backup): Adapt expected events for gfilenotify. (file-notify-test08-watched-file-in-watched-dir): Improve.
| * Fix Bug#22736Michael Albinus2016-02-211-6/+5
| | | | | | | | | | | | | | | | | | | | * lisp/filenotify.el (file-notify-callback): Use the proper descriptor when calling the callback. (Bug#22736) * test/automated/file-notify-tests.el (file-notify--test-event-handler): Deactivate trace. (file-notify-test08-watched-file-in-watched-dir): Bind `file-notify--test-tmpfile' temporarily in `dir-callback'.
| * Report also result in `file-notify--test-event-handler'Michael Albinus2016-02-201-1/+2
| |
| * Improve file-notify-test08-watched-file-in-watched-dirMichael Albinus2016-02-201-20/+34
| | | | | | | | | | | | | | | | | | | | | | | | * test/automated/file-notify-tests.el (file-notify--test-desc2): New variable. (file-notify--test-cleanup): Use it. (file-notify--test-event-handler): Enable trace. (file-notify-test08-watched-file-in-watched-dir): Tag it as :expensive-test. Rewrite callbacks to use `file-notify--test-event-handler'. Read events in loop. Check `file-notify--test-results'. (file-notify-test08-watched-file-in-watched-dir): Fix docstring.
| * New filenotify test for bug#22736Tassilo Horn2016-02-201-0/+56
| | | | | | | | | | | | * test/automated/file-notify-tests.el (file-notify-test08-watched-file-in-watched-dir): (file-notify--test-desc1): New filenotify test for bug#22736
| * Some fixes in file-notify-tests.elMichael Albinus2016-02-081-32/+59
| | | | | | | | | | | | | | | | | | | | * test/automated/file-notify-tests.el (file-notify--test-with-events-check) (file-notify--test-with-events-explainer): New defuns. (file-notify--test-with-events): Use it. (file-notify-test07-backup): Fix docstring. Some of the backends fire two `changed' events. Backup by rename doesn't work for kqueue.
| * Fix Bug#22557Michael Albinus2016-02-072-36/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/filenotify.el (file-notify-callback): Do not send a `stopped' event in case of backup by renaming. (Bug#22557) * test/automated/Makefile.in: Use $(SELECTOR_EXPENSIVE) for all targets but check and check-maybe. * test/automated/file-notify-tests.el (file-notify--test-read-event-timeout): New defconst. (file-notify--deftest-remote, file-notify--wait-for-events) (file-notify-test02-events) (file-notify-test04-file-validity) (file-notify-test06-many-events): Use it. (file-notify--test-cleanup): Make it more robust. Delete also backup file. (file-notify-test07-backup): New test.
| * Fix file-notify-test on MS-WindowsEli Zaretskii2016-02-061-7/+5
| | | | | | | | | | | | | | | | * test/automated/file-notify-tests.el (file-notify--test-timeout): Reduce w32notify timeout to 10 sec. (file-notify-test06-many-events): Call read-event after each rename, to keep the w32notify backend happy in batch mode. (Bug#22534)
| * * test/automated/file-notify-tests.el (file-notify-test06-many-events):Michael Albinus2016-02-051-2/+5
| | | | | | | | Reduce the number of iterations to 250 in case of w32notify.
| * Backport kqueue integration from masterMichael Albinus2016-01-221-180/+405
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (--with-file-notification): Add kqueue. (top): Remove special test for "${HAVE_NS}" and ${with_file_notification}, this is handled inside gfilenotify tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS instead of library specific variables. Add error message for gfile on Nextstep. * doc/lispref/os.texi (File Notifications): Add kqueue as backend. Fix some glitches in the example. * etc/NEWS: Mention kqueue. * lisp/filenotify.el (file-notify--library) (file-notify-descriptors, file-notify-callback) (file-notify-add-watch, file-notify-rm-watch) (file-notify-valid-p): Add kqueue support. (file-notify--rm-descriptor): Remove WHAT arg. * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS. * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue. * src/inotify.c (inotifyevent_to_event): Extract file name from watch_object if the event doesn't provide it. (Finotify_add_watch): Add file name to watch_object. * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE. * src/kqueue.c: New file. * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue. * test/automated/file-notify-tests.el (file-notify--test-expected-events): Remove. (file-notify--test-cleanup): Do not set that variable. (file-notify--test-timeout) Use different timeouts for different libraries. (file-notify--test-library): New defun. (file-notify--test-event-test): Make stronger checks. (file-notify--test-with-events): EVENTS can also be a list of lists. Flush outstanding events before running the body. Make timeout heuristically depend on the number of events. (file-notify-test01-add-watch, file-notify-test02-events) (file-notify-test04-file-validity, file-notify-test05-dir-validity): Rewrite in order to call file monitors but directory monitors. (file-notify-test02-events, file-notify-test04-file-validity): Do not skip cygwin tests. Add additional test for file creation. Adapt expected result for different backends. (file-notify-test03-autorevert): Some of the tests don't work for w32notify. (file-notify-test06-many-events): New test.
| * Enable test selector from command linePhillip Lord2016-01-151-4/+10
| | | | | | | | | | * test/automated/Makefile.in: Change variable manipulation to avoid over-writing selector.
| * check-maybe shall run only default testsMichael Albinus2016-01-141-16/+18
| | | | | | | | | | | | | | | | * test/automated/Makefile.in (check, check-expensive): Depend on mostlyclean. (check-maybe): Re-run only default tests. (check-doit): Use code of check-maybe. (mostlyclean): Move *.log files away.
| * * test/automated/core-elisp-tests.elGlenn Morris2016-01-121-1/+1
| | | | | | | | (core-elisp-tests-1-defvar-in-let): Add a custom type.
* | * test/lisp/vc/vc-hg.el: Move from test/automated/.Glenn Morris2016-01-271-58/+0
| | | | | | | | ; Changed directory structures across branches - the gift that keeps on giving.
* | Merge from origin/emacs-25John Wiegley2016-01-111-0/+58
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1f6898d test/automated/vc-hg.el: Support out-of-tree build 3adb56e Minor change in tramp-tests.el 2b535ba ; * etc/NEWS: Update the js.el entry. 76b518c * etc/HELLO: Add Armenian and Mongolian greetings. b51f1ef Java Mode: Fontify identifiers in the presence of annotations. 36b9539 Avoid an infloop when we run out of memory 2006752 Avoid unnecessary failures of auto-saving after fatal error eef6784 Simplify HAVE_MODULES use in mark_maybe_pointer 552694a Revert attempt to use 'noexcept' in typedef 6ad0d39 Update documentation of 'indirect-function' c6a5314 ; * etc/NEWS: Move entry of 'inhibit-point-motion-hooks'. 303141a Update documentation for obsoleting 'syntax-begin-function' 4e6f61c ; * etc/NEWS: Mark documented and not-to-be-documented entries. e667bbb Document new features if Eshell 9c4e4e0 ; * etc/NEWS: Update EUDC entries. 1089dc9 Handle too long commands in Tramp 684eb58 * .gitattributes: *.cur and *.pif are binary files too. d2c7fda * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined bd3f53d * sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...) 09b2b8a * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value cca0f93 ; Account for spaces before the filename c71e1e8 Use short date for 'hg annotate', and output the author f50027b Spelling fix c7dff67 ; * etc/NEWS: Fix the Xref entries that got separated. cc140bc Document user-level functions in project.el f8208b6 Document the user-level features of the Xref package b131fb8 * loading.texi: Add `define-type' entry for load-history db3c2a8 Improve doc strings and prompts in xref.el f6117ef Allow the use of `font-lock-extend-region-multiline' in CC Mode. 90fd798 Fix coding system for Tramp on OS X. e985a0e ; * etc/NEWS: Mark the 'check-expensive' entry not to be documented. 9dfcbf0 Update 'load-history' docs 207e191 Fix (error ...) error 457738f Correctly analyze brace arguments in templated C++ function declarations. d57724a * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare. 2a9532d * lisp/ffap.el (ffap-latex-mode): Avoid free variable. 1a6b084 * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`. 8be046f Respect fontification region calculated by major mode. Fixes bug #22316. 4b37cba Improve documentation of Delete Selection mode a034dd3 Fix two project-find-file issues 30abf29 Clarify doc string of 'dired-current-directory' e990bb2 Use the face of preceding text for displaying the ellipsis 5810ac3 Suppress Chinese file name test for OSX in tramp-tests.el eeb710a ; * lisp/startup.el: Sentences end with two spaces. 428b3de * admin/admin.el (set-version): Also handle the NEWS file. 648de81 ; Add NEWS entry for project.el 671862f apropos-library: Skip obvious duplicates; don't error on generics 51668a5 ; Grammar fix ed41d11 Add project-find-file and project-or-external-find-file 056da45 ; Improve commentary in 'setup_for_ellipsis' 269d008 ; Improve docstring for `inhibit-startup-echo-area-message'
| * test/automated/vc-hg.el: Support out-of-tree buildDmitry Gutov2016-01-121-4/+2
| | | | | | | | | | | | | | | | * test/automated/vc-hg.el (vc-hg-annotate-extract-revision-at-line-with-filename) (vc-hg-annotate-extract-revision-at-line-with-both): Don't refer to source-directory. http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00755.html
| * Minor change in tramp-tests.elMichael Albinus2016-01-111-2/+2
| | | | | | | | | | * test/automated/tramp-tests.el (tramp-test29-vc-registered): Use `dired-uncache' instead of a Tramp internal function.
| * Handle too long commands in TrampMichael Albinus2016-01-101-9/+1
| | | | | | | | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link) (tramp-do-file-attributes-with-ls): Send sequence of commands, in order to not exceed shell command line limit. * test/automated/tramp-tests.el (tramp--test-darwin-p): Remove. (tramp--test-utf8): Include Arabic file name, again.
| * ; Account for spaces before the filenameDmitry Gutov2016-01-101-1/+1
| |
| * Use short date for 'hg annotate', and output the authorDmitry Gutov2016-01-101-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-hg.el (vc-hg-annotate-command): Change '-d' to '-dq'. (Bug#21805) (vc-hg-annotate-switches): Default to "-u" "--follow". (vc-hg-annotate-re): Update to recognize the short date format and the optional username. (vc-hg-annotate-time) (vc-hg-annotate-extract-revision-at-line): Update accordingly. * test/automated/vc-hg.el: New file.
| * Fix coding system for Tramp on OS X.Michael Albinus2016-01-091-2/+5
| | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-compat.el: Require ucs-normalize. * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell): Set coding system to `utf-8-hfs' for Mac OS X. * test/automated/tramp-tests.el (tramp-test29-vc-registered): Flush directory properties when needed. (tramp--test-utf8): Include Chinese file name, again.
| * Suppress Chinese file name test for OSX in tramp-tests.elMichael Albinus2016-01-081-3/+3
| | | | | | | | | | * test/automated/tramp-tests.el (tramp--test-utf8): Remove instrumentation. Suppress Chinese file name test for OSX.
| * Additional changes for "make check-expensive"Michael Albinus2016-01-051-8/+12
| | | | | | | | | | | | | | | | | | | | * CONTRIBUTE : Encourage use of ":tags '(:expensive-test)". Explain make target `check-expensive'. * etc/NEWS: Mention new make target `check-expensive'. * test/automated/Makefile.in (check-doit): New target. (check, check-expensive): Use it.
| * Introduce check-expensive tests.Michael Albinus2016-01-044-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (check-expensive): * test/automated/Makefile.in (check-expensive): New target. * test/automated/auto-revert-tests.el (auto-revert-test01-auto-revert-several-files): * test/automated/file-notify-tests.el (file-notify--deftest-remote): * test/automated/tramp-tests.el (tramp-test26-process-file) (tramp-test27-start-file-process, tramp-test28-shell-command) (tramp-test29-vc-registered) (tramp-test31-special-characters-with-stat) (tramp-test31-special-characters-with-perl) (tramp-test31-special-characters-with-ls) (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl) (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests) (tramp-test35-unload): Tag the tests as :expensive-test.
| * Minor fixes in tramp-tests.elMichael Albinus2016-01-041-2/+3
| | | | | | | | | | | | * test/automated/tramp-tests.el (tramp-test26-process-file): Move point properly. (tramp-test29-vc-registered): Work with relative file names.
| * Update copyright year to 2016Paul Eggert2016-01-0193-93/+93
| | | | | | | | Run admin/update-copyright.
* | Fix fallout from merging emacs-25 branch in test/Eli Zaretskii2016-01-056-351/+0
| | | | | | | | | | | | | | | | | | | | | | * .gitignore: Update for the new place of biditest.txt. * test/automated/: Directory removed. All files moved to their proper places. * test/etags/: Directory removed. All files moved to their proper places. * test/automated/url-parse-tests.el: File removed; it was an exact copy of the same file in test/lisp/url/. * test/automated/url-expand-tests.el: Moved to test/lisp/url/.
* | Merge emacs-25 into master (using imerge)John Wiegley2015-12-296-0/+351
|\|
| * Spelling fixPaul Eggert2015-12-261-1/+1
| | | | | | | | | | | | * test/automated/url-parse-tests.el: (url-generic-parse-url/same-document-reference): Rename from url-generic-parse-url/same-decument-reference.
| * Include the tests for the URL parsing fixesAlain Schneble2015-12-262-0/+272
| |
| * Make tramp-test29-vc-registered more robustMichael Albinus2015-12-251-7/+10
| | | | | | | | | | | | * test/automated/tramp-tests.el (tramp-test29-vc-registered): Move `bzr' case down. Skip test when `vc-create-repo' fails. Remove instrumentation.
| * Instrument Tramp testsMichael Albinus2015-12-221-2/+4
| | | | | | | | | | * test/automated/tramp-tests.el (tramp-test29-vc-registered) (tramp--test-utf8): Instrument tests.
| * Suppress test on Mac OS XMichael Albinus2015-12-201-1/+9
| | | | | | | | | | * test/automated/tramp-tests.el (tramp--test-darwin-p): New defun. (tramp--test-utf8): Use it.
| * Fix parsing netrc entries with portsEli Zaretskii2015-12-171-0/+45
| | | | | | | | | | | | | | | | * lisp/gnus/auth-source.el (auth-source-ensure-strings): Don't make a list out of 't'. (Bug#22188) * test/automated/auth-source-tests.el (auth-source-test-netrc-parse-entry): New test.
| * * test/automated/simple-test.el (undo-auto-boundary-timer): UpdateGlenn Morris2015-12-081-2/+2
| | | | | | | | for recent change.
| * Spelling fixesPaul Eggert2015-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | * doc/misc/calc.texi (Predefined Units): Use the bland modern scientific style for spelling the units “ampere” and “angstrom” rather than the older style “Ampere” and “Ångstrom”. The latter spelling was wrong anyway (it should have been “Ångström”). * lisp/emacs-lisp/ert.el (ert--explain-equal-rec): Fix misspelling of ‘atom’ in code.
| * Fix minor Tramp problems found on BSDMichael Albinus2015-12-061-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not append trailing slash. Quote apostrophes. (tramp-sh-handle-file-truename): Do not append trailing slash in the "ls" case. (tramp-get-ls-command-with-w-option): New defun. (tramp-do-file-attributes-with-ls) (tramp-do-directory-files-and-attributes-with-stat): Use it. * test/automated/tramp-tests.el (tramp-test31-special-characters-with-perl) (tramp-test31-special-characters-with-ls) (tramp-test32-utf8-with-perl, tramp-test32-utf8-with-ls): Suppress also readlink.
| * Fix auto-revert-tests.el when filenotify isn't usedMichael Albinus2015-12-061-1/+3
| | | | | | | | | | * test/automated/auto-revert-tests.el (auto-revert--wait-for-revert): Make it working also when filenotify isn't used.
| * Fix Bug#22092.Ulf Jasper2015-12-051-0/+56
| | | | | | | | | | | | | | | | * lisp/calendar/icalendar.el (icalendar--get-unfolded-buffer): Clean up inconsistent line endings. (Bug#22092) (icalendar--clean-up-line-endings): New. * test/automated/icalendar-tests.el (icalendar-real-world): Add test for Bug#22092.
| * Remove copyright statements from trivial test filesArtur Malabarba2015-12-054-76/+0
| |
| * Improve parsing of version stringsAlex Dunn2015-12-051-0/+112
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (version-regexp-alist): Allow "." as priority separator (version-to-list): More helpful error messages. (version-to-list): ".5" is valid (update docstring). Make "22.8X3" invalid, as the doc string says. * test/automated/subr-tests.el (ert-test-version-parsing): New tests for version string processing. Copyright-paperwork-exempt: yes
| * * lisp/character-fold.el: Remove special case-folding supportArtur Malabarba2015-12-041-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (character-fold-to-regexp): Remove special code for case-folding. Char-fold search still respects the `case-fold-search' variable (i.e., f matches F). This only removes the code that was added to ensure that f also matched all chars that F matched. For instance, after this commit, f no longer matches 𝔽. This was necessary because the logic created a regexp with 2^(length of the string) redundant paths. So, when a very long string "almost" matched, Emacs took a very long time to figure out that it didn't. This became particularly relevant because isearch's lazy-highlight does a search bounded by (1- match-end) (which, in most circumstances, is a search that almost matches). A recipe for this can be found in bug#22090.
| * * lisp/emacs-lisp/package.el (package-unpack): Load before compilingArtur Malabarba2015-12-035-0/+169
| | | | | | | | | | | | | | | | | | Reload any previously loaded package files before compiling the package (also reload the same files after compiling). This ensures that we have the most recent definitions during compilation, and avoids generating bad elc files when a macro changes and it is used in a different file from the one it's defined in.
| * * lisp/character-fold.el: Add back multi-char matchingArtur Malabarba2015-12-011-1/+4
| | | | | | | | | | | | | | | | | | | | | | (character-fold-to-regexp): Uncomment recently commented code and make the algorithm "dummer" by not checking every possible combination. This will miss some possible matches, but it greatly reduces regexp size. * test/automated/character-fold-tests.el (character-fold--test-fold-to-regexp): Comment out test of functionality no longer supported.
| * * lisp/character-fold.el (character-fold-to-regexp)Artur Malabarba2015-11-281-2/+2
| | | | | | | | | | | | | | | | Warn about using long strings. * test/automated/character-fold-tests.el (character-fold--test-lax-whitespace) (character-fold--test-consistency): Reduce string size for tests.
| * * lisp/character-fold.el: Also play nice with case-foldingArtur Malabarba2015-11-281-2/+7
| | | | | | | | (character-fold-to-regexp): Take `case-fold-search' into account.