X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/d511238048873be2947be33485072357ca3a7fe7..16adf2e6eb1ddf0b32ebea2d5ce8fa1e4c226614:/test/ChangeLog diff --git a/test/ChangeLog b/test/ChangeLog index 43ba409ae0..75a3d0101c 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,5 +1,447 @@ +2014-03-26 Barry O'Reilly + + * automated/undo-tests.el (undo-test-marker-adjustment-nominal): + (undo-test-region-t-marker): New tests of marker adjustments. + (undo-test-marker-adjustment-moved): + (undo-test-region-mark-adjustment): New tests to demonstrate + bug#16818, which fail without the fix. + +2014-03-23 Dmitry Gutov + + * automated/package-test.el (package-test-describe-package): + Fix test failure in non-graphical mode. + +2014-03-23 Daniel Colascione + + * automated/subword-tests.el (subword-tests2): More subword tests. + + * automated/cl-lib.el (cl-lib-keyword-names-versus-values): New + test: correct parsing of keyword arguments. + +2014-03-22 Dmitry Gutov + + * automated/package-test.el (package-test-describe-package): + Check for the "Keywords: " line. + + * automated/data/package/archive-contents: Include the :keywords + field in `simple-single' data form. + +2014-03-21 Dmitry Gutov + + * automated/package-test.el + (package-test-install-two-dependencies): New test (bug#16826). + + * automated/data/package/simple-two-depend-1.1.el: New file. + + * automated/data/package/archive-contents: + Add info about the new package. + +2014-03-07 Michael Albinus + + * automated/tramp-tests.el (tramp-copy-size-limit): Declare. + (tramp-test10-write-region): Extend for out-of-band copy. + (tramp-test31-asynchronous-requests): New test. + +2014-03-02 Barry O'Reilly + + * automated/undo-tests.el (undo-test-in-region-not-most-recent): + Add new test of undo in region. + (undo-test-in-region-eob): Add test case described at + http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16411 + +2014-02-28 Michael Albinus + + * automated/tramp-tests.el (tramp--test-enabled) + (tramp-test15-copy-directory): No special handling of tramp-adb.el + anymore. It's fixed in that package. + +2014-02-27 Michael Albinus + + * automated/tramp-tests.el (tramp--test-enabled): Move connection + cleanup into this function. Remove respective code from all test + cases. + (tramp--instrument-test-case): Declare `indent' and `debug'. + Handle other errors as well. + (tramp-test14-delete-directory): Check for `file-error' error. + (tramp-test15-copy-directory): Ignore return value of + `copy-directory'. It's too much hassle to handle it for tramp-adb.el. + (tramp-test19-directory-files-and-attributes): Take care of + timestamp of "../". + (tramp-test20-file-modes, tramp-test27-start-file-process) + (tramp-test28-shell-command): Skip for tramp-adb.el. + (tramp-test21-file-links): `file-truename' shall preserve trailing + link of directories. + (tramp-test22-file-times): Skip if `set-file-times' returns nil. + (tramp-test26-process-file, tramp-test28-shell-command): Let-bind + `kill-buffer-query-functions' to nil. + (tramp-test28-shell-command): Run `async-shell-command' with timeouts. + +2014-02-21 Michael Albinus + + * automated/tramp-tests.el + (tramp-test19-directory-files-and-attributes): Do not include + directories in comparison; they might have changed their + timestamps already. + +2014-02-20 Michael Albinus + + * automated/tramp-tests.el (tramp--instrument-test-case): New macro. + (tramp-test17-insert-directory): First line could contain more + text, when produced by `ls-lisp'. + (tramp-test19-directory-files-and-attributes): Instrument failed + test case. + +2014-02-19 Michael Albinus + + * automated/tramp-tests.el (tramp-test17-insert-directory): + Make first line "total 123" optional. + (tramp-test20-file-modes, tramp-test22-file-times) + (tramp-test26-process-file, tramp-test27-start-file-process) + (tramp-test28-shell-command): Skip for tramp-gvfs.el and + tramp-smb.el. + (tramp-test20-file-modes): Check for "root" only when there is an + explicit user name. + (tramp-test21-file-links): Handle "... not supported" error. + (tramp-test22-file-times): Skip for "don't know" return values. + (tramp-test26-process-file, tramp-test28-shell-command): + Remove color escape sequences. + (tramp-test28-shell-command): Use `accept-process-output' rather + than `sit-for'. + (tramp-test30-utf8): Set coding system `utf-8'. + +2014-02-17 Michael Albinus + + * automated/tramp-tests.el (tramp-test28-shell-command): Perform + an initial `sit-for' prior the while loop. + +2014-02-16 Michael Albinus + + Sync with Tramp 2.2.9. + + * automated/tramp-tests.el (password-cache-expiry): Set to nil. + (tramp-test28-shell-command): Make a while loop when waiting for + process exit. + +2014-02-11 Michael Albinus + + * automated/tramp-tests.el (top): Require `vc', `vc-bzr', `vc-git' + and `vc-hg'. Declare `tramp-find-executable' and + `tramp-get-remote-path'. + (tramp-test29-vc-registered): New test. + (tramp-test30-utf8): Rename from `tramp-test29-utf8'. + +2014-02-07 Michael Albinus + + * automated/tramp-tests.el (tramp-test26-process-file): Improve test. + (tramp-test27-start-file-process): Use "_p" as argument of lambda. + (tramp-test28-shell-command): Improve `shell-command' test. Add + `async-shell-command' tests. + +2014-02-04 Michael Albinus + + * automated/file-notify-tests.el (file-notify--wait-for-events): + Use `read-event' instead of `sit-for'. + (file-notify-test02-events): Remove expected result, the bug is + fixed meanwhile. + (file-notify-test02-events, file-notify-test03-autorevert): + Use `sleep-for' instead of `sit-for'. + +2014-01-31 Dmitry Gutov + + * automated/ruby-mode-tests.el (ruby-align-chained-calls): + New test. + +2014-01-27 Michael Albinus + + * automated/file-notify-tests.el (file-notify--deftest-remote): + Do not skip when the local test has failed. They are unrelated. + (file-notify--wait-for-events): Use `sit-for'. Let-bind + `noninteractive' to nil, otherwise `sit-for' could be degraded to + `sleep-for'. + (file-notify-test02-events): Check for `file-remote-p' instead of + `file-notify--test-remote-enabled'. + +2014-01-26 Michael Albinus + + * automated/file-notify-tests.el (file-notify-test02-events): + Let test case fail for Bug#16519. + +2014-01-22 Michael Albinus + + * automated/file-notify-tests.el (file-notify-test02-events): + Hide Bug#16519, until it is solved. + +2014-01-21 Michael Albinus + + * automated/file-notify-tests.el + (file-notify--test-local-enabled): Fix error in logic. + (file-notify--wait-for-events): New defmacro. + (file-notify-test02-events): Make short breaks between file operations. + Use `file-notify--wait-for-events'. Check, that events have arrived. + (file-notify-test03-autorevert): Use `file-notify--wait-for-events'. + + * automated/comint-testsuite.el + (comint-testsuite-password-strings): Add localized examples. + +2014-01-17 Michael Albinus + + * automated/inotify-test.el (inotify-file-watch-simple): Skip test + case if inotify is not linked with Emacs. Use `read-event' rather + than `sit-for' in order to process events. (Bug#13662) + +2014-01-13 Michael Albinus + + * automated/ert-tests.el (ert-test-record-backtrace): Reenable + test case with adapted test string. (Bug#13064) + +2013-12-28 Glenn Morris + + * automated/electric-tests.el: Require 'elec-pair. + +2013-12-26 João Távora + + * automated/electric-tests.el (electric-pair-test-for): + Fix autowrapping tests in batch-mode by running with + `transient-mark-mode' set to `lambda'. + + * automated/electric-tests.el: New file. + +2013-12-25 Fabián Ezequiel Gallina + + * automated/python-tests.el + (python-nav-lisp-forward-sexp-safe-1): Remove test. + (python-nav-forward-sexp-safe-1): New test. + +2013-12-20 Dmitry Gutov + + * automated/ruby-mode-tests.el: Add tests for + `ruby-align-to-stmt-keywords'. + + * indent/ruby.rb: Update examples to reflect the lack of change in + default indentation of `begin' blocks. + +2013-12-17 Dmitry Gutov + + * indent/ruby.rb: Update examples according to the change + in `smie-indent-close'. + +2013-12-14 Dmitry Gutov + + * indent/ruby.rb: New examples. + +2013-12-12 Fabián Ezequiel Gallina + + * automated/python-tests.el (python-indent-dedenters-2): New test. + +2013-12-12 Fabián Ezequiel Gallina + + * automated/python-tests.el (python-indent-after-comment-1) + (python-indent-after-comment-2): New tests. + +2013-12-12 Nathan Trapuzzano + + * automated/python-tests.el (python-indent-block-enders-1): + Rename from python-indent-block-enders. + (python-indent-block-enders-2): New test. + +2013-12-08 Dmitry Gutov + + * indent/js.js: New file. + +2013-12-05 Michael Albinus + + * automated/dbus-tests.el: New file. + +2013-12-05 Stefan Monnier + + * automated/regexp-tests.el: New file. + +2013-11-29 Eli Zaretskii + + * automated/reftex-tests.el (reftex-parse-from-file-test): + Run temp-dir through file-truename, to make sure the temporary file + names are comparable as strings. + + * automated/decoder-tests.el (ert-test-decoder-prefer-utf-8): + Force Unix EOLs by using 'utf-8-unix', since the default of + 'utf-8' is system-dependent, while the test expects to see Unix EOLs. + +2013-11-28 Glenn Morris + + * automated/Makefile.in (SEPCHAR): Use in place of PATH_SEP. + +2013-11-28 Eli Zaretskii + + * automated/Makefile.in (PATH_SEP): Set this instead of PATH_SEPARATOR. + (EMACSOPT): Use $(PATH_SEP). + +2013-11-28 Michael Albinus + + * automated/file-notify-tests.el (auto-revert-stop-on-user-input): + Set to nil. + +2013-11-27 Michael Albinus + + * automated/file-notify-tests.el + (file-notify-test-remote-temporary-file-directory): + Check $REMOTE_TEMPORARY_FILE_DIRECTORY. + (tramp-read-passwd): Check $REMOTE_ALLOW_PASSWORD. + (file-notify--deftest-remote): Cleanup connection initially. + (file-notify-test03-autorevert): Run also in batch mode. Use a + larger timeout for remote files. `sit-for' 1 second; 0.1 second + does not work on MS Windows. Call `accept-process-output' for + remote files. Apply `string-match' instead of `string-equal', the + messages are different on MS Windows. + + * automated/tramp-tests.el (tramp-test-temporary-file-directory): + Use $REMOTE_TEMPORARY_FILE_DIRECTORY. + (tramp-read-passwd): Check $REMOTE_ALLOW_PASSWORD. + +2013-11-23 Glenn Morris + + * automated/python-tests.el (python-shell-make-comint-1) + (python-shell-make-comint-2, python-shell-get-process-1): + Suppress creation of some temp-files. + + * automated/python-tests.el (python-shell-parse-command-1) + (python-shell-make-comint-1, python-shell-make-comint-2) + (python-shell-get-process-1) + (python-shell-internal-get-or-create-process-1): + Skip rather than fail if prereqs not found. + + * automated/Makefile.in (emacs): + Empty EMACSLOADPATH rather than unsetting. + +2013-11-22 Glenn Morris + + * automated/ruby-mode-tests.el (ruby-exit!-font-lock): + Set expected-result. + +2013-11-21 Glenn Morris + + * automated/Makefile.in (XARGS_LIMIT): New, set by configure. + (compile-main): Pass XARGS_LIMIT to xargs. + + * automated/Makefile.in (PATH_SEPARATOR): New, set by configure. + (EMACSOPT): Use PATH_SEPARATOR. + +2013-11-20 Bozhidar Batsov + + * automated/ruby-mode-tests.el (ruby-exit!-font-lock): + Add a failing test for Bug#15874. + (ruby--insert-coding-comment-ruby-style) + (ruby--insert-coding-comment-emacs-style) + (ruby--insert-coding-comment-custom-style): + Add a few tests for `ruby--insert-coding-comment'. + +2013-11-18 Paul Eggert + + Improve API of recently-added bool vector functions (Bug#15912). + * automated/data-tests.el: Adjust to API changes. + +2013-11-16 Michael Albinus + + * automated/tramp-tests.el (tramp-test07-file-exists-p) + (tramp-test08-file-local-copy) + (tramp-test09-insert-file-contents, tramp-test10-write-region) + (tramp-test11-copy-file, tramp-test12-rename-file) + (tramp-test13-make-directory, tramp-test14-delete-directory) + (tramp-test15-copy-directory, tramp-test16-directory-files) + (tramp-test17-insert-directory, tramp-test18-file-attributes) + (tramp-test19-directory-files-and-attributes) + (tramp-test20-file-modes, tramp-test21-file-links) + (tramp-test22-file-times, tramp-test23-visited-file-modtime) + (tramp-test24-file-name-completion, tramp-test25-load) + (tramp-test26-process-file, tramp-test27-start-file-process) + (tramp-test28-shell-command): Cleanup connection initially. + +2013-11-15 Michael Albinus + + * automated/tramp-tests.el (tramp-test29-utf8): Cleanup the + connection before running the test. + +2013-11-15 Michael Albinus + + * automated/tramp-tests.el (tramp-test15-copy-directory) + (tramp-test16-directory-files, tramp-test17-insert-directory) + (tramp-test18-file-attributes) + (tramp-test19-directory-files-and-attributes) + (tramp-test20-file-modes, tramp-test21-file-links) + (tramp-test22-file-times, tramp-test23-visited-file-modtime) + (tramp-test24-file-name-completion, tramp-test25-load) + (tramp-test26-process-file, tramp-test27-start-file-process) + (tramp-test28-shell-command): Protect unwindforms with `ignore-errors'. + (tramp-test29-utf8): New test. + +2013-11-13 Michael Albinus + + * automated/file-notify-tests.el (file-notify-test02-events) + (file-notify-test03-autorevert): Suppress messages in `write-region'. + + * automated/tramp-tests.el (tramp-test02-file-name-dissect) + (tramp-test03-file-name-defaults, tramp-test21-file-links): Add tests. + (tramp-test26-process-file, tramp-test28-shell-command): + Ensure, that the directory is not empty when calling "ls". + +2013-11-11 Michael Albinus + + * automated/tramp-tests.el (tramp-test-temporary-file-directory): + Check $TRAMP_TEST_TEMPORARY_FILE_DIRECTORY. + (tramp-read-passwd): Check $TRAMP_TEST_ALLOW_PASSWORD. + (tramp-test09-insert-file-contents, tramp-test10-write-region) + (tramp-test26-process-file): Add tests. + (tramp-test11-copy-file): Remove debug message. + (tramp-test20-file-modes): Special case, if user is "root". + +2013-11-08 Michael Albinus + + * automated/file-notify-tests.el: + * automated/tramp-tests.el: Add `tramp-own-remote-path' to + `tramp-remote-path' when running on hydra. + (tramp-test07-file-exists-p): Remove instrumentation code. + (tramp-test26-process-file): Don't use "/bin/true" and + "/bin/false", these paths do not exist on hydra. + +2013-11-08 Helmut Eller + + * automated/process-tests.el: New file. + +2013-11-08 Dmitry Gutov + + * indent/ruby.rb: New examples. + +2013-11-06 Glenn Morris + + * automated/Makefile.in (setwins): Avoid accidental matches. + +2013-11-06 Michael Albinus + + * automated/tramp-tests.el (tramp-test07-file-exists-p): + Fix docstring. Instrument, in order to hunt failure on hydra. + +2013-11-06 Glenn Morris + + * automated/flymake-tests.el (warning-predicate-rx-gcc) + (warning-predicate-function-gcc, warning-predicate-rx-perl) + (warning-predicate-function-perl): + * automated/info-xref.el (info-xref-test-makeinfo): + * automated/vc-bzr.el (vc-bzr-test-bug9726, vc-bzr-test-bug9781) + (vc-bzr-test-faulty-bzr-autoloads): Skip rather than expect failure. + +2013-11-05 Michael Albinus + + * automated/tramp-tests.el: New file. + 2013-11-05 Glenn Morris + Get rid of --chdir usage. + * automated/Makefile.in (EMACSOPT): Move -L here. + (emacs): Set EMACS_TEST_DIRECTORY in the environment. + (setwins): Don't assume called from srcdir. Remove legacy stuff. + (.el.elc): No more need to pass -L here. + (compile-main): Get rid of sub-shell and cd. + (compile-clean, check): Get rid of cd. + Make it possible to run tests with a different working directory. * automated/flymake-tests.el (flymake-tests-data-directory): New. (flymake-tests--current-face): Use flymake-tests-data-directory. @@ -106,7 +548,7 @@ 2013-10-17 Barry O'Reilly - * test/automated/timer-tests.el: New file. Tests that (sit-for 0) + * automated/timer-tests.el: New file. Tests that (sit-for 0) allows another timer to run. 2013-10-14 Dmitry Gutov @@ -202,7 +644,7 @@ 2013-09-22 Daniel Colascione - * automated/data-test.el: + * automated/data-tests.el: (bool-vector-count-matches-all-0-nil) (bool-vector-count-matches-all-0-t) (bool-vector-count-matches-1-il, bool-vector-count-matches-1-t) @@ -276,8 +718,8 @@ 2013-08-14 Daniel Hackney - * package-test.el: Remove tar-package-building functions. Tar file - used for testing is included in the repository. + * automated/package-test.el: Remove tar-package-building functions. + Tar file used for testing is included in the repository. (package-test-install-texinfo, package-test-cleanup-built-files): Remove. @@ -332,7 +774,7 @@ * automated/file-notify-tests.el (file-notify--test-local-enabled): New defconst. Replaces all - `file-notify-support' occurences. + `file-notify-support' occurrences. (file-notify--test-remote-enabled): New defun. (file-notify--deftest-remote): Use it. (file-notify-test00-availability): Rewrite. @@ -413,7 +855,7 @@ * automated/add-log-tests.el, automated/advice-tests.el: * automated/imenu-test.el, automated/package-x-test.el: * automated/python-tests.el, automated/ruby-mode-tests.el: - * automated/xml-parse-tests.el: Explictly require ert. + * automated/xml-parse-tests.el: Explicitly require ert. 2013-07-08 Kenichi Handa @@ -525,7 +967,7 @@ 2013-05-26 Aidan Gauland - * tests/eshell.el: Rewrite tests using ERT. + * eshell.el: Rewrite tests using ERT. 2013-05-25 Leo Liu @@ -555,7 +997,7 @@ 2013-04-01 Masatake YAMATO - * automated/imenu-tests.el: New file. (Bug#14112) + * automated/imenu-test.el: New file. (Bug#14112) 2013-04-19 Fabián Ezequiel Gallina @@ -577,7 +1019,7 @@ 2013-04-09 Masatake YAMATO - * automated/add-log-tests.el: New file. (Bug#14112) + * automated/add-log-tests.el: New file. (Bug#14112) 2013-03-30 Fabián Ezequiel Gallina @@ -914,9 +1356,9 @@ * automated/newsticker-tests.el (newsticker--group-manage-orphan-feeds): Use fset instead of flet. - * trunk/test/automated/newsticker-tests.el + * automated/newsticker-tests.el (newsticker--group-manage-orphan-feeds): Prevent updating - newsticker treeview. Fixed bug#9763. + newsticker treeview. Fixed bug#9763. 2011-10-20 Glenn Morris @@ -931,7 +1373,7 @@ 2011-09-27 Ulf Jasper * automated/newsticker-tests.el: Move newsticker-testsuite.el - to automated/newsticker-tests.el. Convert to ERT. + to automated/newsticker-tests.el. Convert to ERT. 2011-07-26 Ulf Jasper @@ -1220,22 +1662,22 @@ Add icalendar-testsuite--test-datestring-to-isodate, icalendar-testsuite--test-datetime-to-diary-date, and icalendar-testsuite--test-calendar-style. - (icalendar-testsuite--test-format-ical-event): + (icalendar-testsuite--test-format-ical-event) (icalendar-testsuite--test-parse-summary-and-rest): Doc fix. Remove european-calendar-style. (icalendar-testsuite--get-ical-event): Doc fix. - (icalendar-testsuite--test-first-weekday-of-year): + (icalendar-testsuite--test-first-weekday-of-year) (icalendar-testsuite--run-cycle-tests): Add doc string. - (icalendar-testsuite--test-datestring-to-isodate): - (icalendar-testsuite--test-datetime-to-diary-date): + (icalendar-testsuite--test-datestring-to-isodate) + (icalendar-testsuite--test-datetime-to-diary-date) (icalendar-testsuite--test-calendar-style): New functions. (icalendar-testsuite--test-export): Handle iso date style. New arg INPUT-ISO. Use calendar-date-style. (icalendar-testsuite--test-import): Handle iso date style. New arg EXPECTED-ISO. Use calendar-date-style. (icalendar-testsuite--test-cycle): Handle iso date style. - (icalendar-testsuite--run-import-tests): - (icalendar-testsuite--run-export-tests): + (icalendar-testsuite--run-import-tests) + (icalendar-testsuite--run-export-tests) (icalendar-testsuite--run-real-world-tests): Add iso style tests. 2008-02-29 Glenn Morris @@ -1250,7 +1692,7 @@ ;; coding: utf-8 ;; End: - Copyright (C) 2008-2013 Free Software Foundation, Inc. + Copyright (C) 2008-2014 Free Software Foundation, Inc. This file is part of GNU Emacs.