Make building in directories with whitespace possible
[bpt/emacs.git] / test / ChangeLog
index 1b2b885..358ef31 100644 (file)
@@ -1,7 +1,401 @@
+2013-10-23  Glenn Morris  <rgm@gnu.org>
+
+       * automated/Makefile.in (abs_top_srcdir, top_builddir):
+       New, set by configure.
+       (top_srcdir): Remove.
+       (abs_test, abs_lispsrc): New.
+       (lisp): No longer absolute.
+       (emacs, lisp-compile, compile, compile-always):
+       Quote entities that might contain whitespace.
+
+2013-10-22  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * indent/ruby.rb: Move two examples to "working" section, add one
+       more.
+
+2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * indent/ruby.rb: New examples for indentation of blocks.  Example
+       of hash inside parens that inflooped before the present commit.
+
+2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
+
+       * test/automated/timer-tests.el: New file.  Tests that (sit-for 0)
+       allows another timer to run.
+
+2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * indent/ruby.rb: More examples for bug#15594, both failing and
+       now passing.
+
+2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * indent/ruby.rb: Add two more cases.
+
+2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * automated/ruby-mode-tests.el (ruby-with-temp-buffer): Move before
+       first use.
+       (ruby-should-indent): Use indent-according-to-mode.
+       (ruby-deftest-move-to-block): Use `declare'.
+
+2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * indent/ruby.rb: Fix a spurious change, add more failing examples.
+
+2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * indent/ruby.rb: Add a few more tests; adjust some indentation.
+
+2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * automated/ruby-mode-tests.el: Add tests for `ruby-forward-sexp'
+       and `ruby-backward-sexp' that fail when `ruby-use-smie' is t.
+
+       * indent/ruby.rb: Fix a syntax error, add a few failing examples.
+
+2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * indent/ruby.rb: Port a few cases from automated/ruby-mode-tests.el.
+       Adjust indentation of continued line to the new SMIE behavior.
+
+2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * automated/completion-tests.el:
+       * indent/css-mode.css: New files.
+
+2013-10-03  Daiki Ueno  <ueno@gnu.org>
+
+       * automated/data/package/signed/archive-contents:
+       * automated/data/package/signed/archive-contents.sig:
+       * automated/data/package/signed/signed-good-1.0.el:
+       * automated/data/package/signed/signed-good-1.0.el.sig:
+       * automated/data/package/signed/signed-bad-1.0.el:
+       * automated/data/package/signed/signed-bad-1.0.el.sig:
+       * automated/data/package/key.pub:
+       * automated/data/package/key.sec: New files.
+
+       * automated/package-test.el (package-test-update-listing)
+       (package-test-update-archives, package-test-describe-package):
+       Adjust to package.el change.
+       (package-test-signed): New test.
+
+2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * automated/package-test.el: Update all cases to use :url instead
+       of :homepage.
+
+       * automated/package-x-test.el
+       (package-x-test--single-archive-entry-1-3): Same.
+
+2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * automated/package-test.el (simple-single-desc-1-4): Remove, it
+       was unused.
+       (simple-single-desc): Expect :homepage property.
+       (multi-file-desc): Same.
+       (with-package-test): Do not save previous `default-directory'
+       value, let-bind the var instead.
+       (package-test-install-single): Expect :homepage property in the
+       generated pkg file.
+       (package-test-describe-package): Expect Homepage button.
+       (package-test-describe-non-installed-package)
+       (package-test-describe-non-installed-multi-file-package): Same.
+       (package-test-describe-not-installed-package): Remove, it was a
+       duplicate.
+
+       * automated/package-x-test.el
+       (package-x-test--single-archive-entry-1-3): Expect :homepage
+       property.
+       (package-x-test--single-archive-entry-1-4): Expect nil extras slot.
+
+       * automated/data/package/simple-single-1.3.el: Add URL header.
+
+       * automated/data/package/archive-contents: Add :homepage
+       properties to `simple-single' and `multi-file'.
+
+2013-09-22  Daniel Colascione  <dancol@dancol.org>
+
+       * automated/data-test.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)
+       (bool-vector-count-matches-at, bool-vector-intersection-op)
+       (bool-vector-union-op, bool-vector-xor-op)
+       (bool-vector-set-difference-op)
+       (bool-vector-change-detection, bool-vector-not): New tests.
+       (mock-bool-vector-count-matches-at)
+       (test-bool-vector-bv-from-hex-string)
+       (test-bool-vector-to-hex-string)
+       (test-bool-vector-count-matches-at-tc)
+       (test-bool-vector-apply-mock-op)
+       (test-bool-vector-binop): New helper functions.
+       (bool-vector-test-vectors): New testcase data.
+
+2013-09-20  Ryan  <rct@thompsonclan.org>  (tiny change)
+
+       * automated/advice-tests.el (advice-test-called-interactively-p-around)
+       (advice-test-called-interactively-p-filter-args)
+       (advice-test-called-interactively-p-around): New tests.
+
+2013-09-16  Glenn Morris  <rgm@gnu.org>
+
+       * automated/eshell.el (eshell-match-result):
+       Return a more informative failure than simply "false".  Update callers.
+
+       * automated/eshell.el (eshell-test/for-name-shadow-loop):
+       Test value before and after loop as well as during.
+
+2013-09-15  Glenn Morris  <rgm@gnu.org>
+
+       * automated/eshell.el (eshell-test/for-name-shadow-loop):
+       New test.  (Bug#15372)
+       (eshell-test/for-loop, eshell-test/for-name-loop): Doc fix.
+
+2013-09-13  Glenn Morris  <rgm@gnu.org>
+
+       * automated/eshell.el (with-temp-eshell):
+       Use a temp directory for eshell-directory-name.
+       (eshell-test-command-result): New, again using a temp directory.
+       Replace eshell-command-result with this throughout.
+       (eshell-test/for-loop, eshell-test/for-name-loop):
+       Ensure environment variables don't confuse us.
+
+2013-09-12  Glenn Morris  <rgm@gnu.org>
+
+       * automated/eshell.el (with-temp-eshell): Avoid hangs in batch mode
+       due to "has a running process; kill it?" prompts.
+
+2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * automated/eshell.el: Rename from eshell.el.
+       (eshell-test/for-loop, eshell-test/for-name-loop): New tests (bug#15231).
+
+2013-09-01  Glenn Morris  <rgm@gnu.org>
+
+       * automated/Makefile.in (setwins): Avoid leading space in $wins.
+       Otherwise the sed command used by eg compile-main ends up
+       containing "/*.el".  (Bug#15170)
+
+2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * automated/Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
+       for portability to hosts where /bin/sh has problems.
+
+2013-08-21  David Engster  <deng@randomsample.de>
+
+       * automated/eieio-tests.el, automated/eieio-test-persist.el:
+       * automated/eieio-test-methodinvoke.el: EIEIO tests from CEDET
+       upstream.  Changed to use ERT.
+
+2013-08-14  Daniel Hackney  <dan@haxney.org>
+
+       * 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.
+
+2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+
+       * automated/python-tests.el (python-imenu-create-index-4)
+       (python-imenu-create-flat-index-2): New tests.
+
+2013-08-05  Glenn Morris  <rgm@gnu.org>
+
+       * automated/mule-util.el: New file, with tests extracted from
+       lisp/international/mule-util.el.
+
+2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * automated/advice-tests.el (advice-tests-nadvice): Test removal
+       before definition.
+       (advice-tests-macroaliases): New test.
+
+2013-08-04  Glenn Morris  <rgm@gnu.org>
+
+       * automated/ert-tests.el: Disable failing test that no-one seems
+       to know how to fix.  (Bug#13064)
+
+       * automated/icalendar-tests.el (icalendar-tests--test-export)
+       (icalendar-tests--test-import): Try more precise TZ specification.
+       Remove debug messages.
+
+2013-08-03  Glenn Morris  <rgm@gnu.org>
+
+       * automated/core-elisp-tests.el (core-elisp-tests): Fix defcustom.
+
+       * automated/icalendar-tests.el (icalendar-tests--test-export)
+       (icalendar-tests--test-import):
+       Use getenv/setenv rather than set-time-zone-rule.  Add debug messages.
+       (icalendar-tests--test-import): Reset zone even if error occurred.
+
+2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * automated/core-elisp-tests.el: New file.
+
+2013-08-01  Glenn Morris  <rgm@gnu.org>
+
+       * automated/file-notify-tests.el (file-notify--test-remote-enabled):
+       Try to check that the remote system has a notification program.
+
+2013-07-31  Glenn Morris  <rgm@gnu.org>
+
+       * automated/undo-tests.el (undo-test2, undo-test5): Be quieter.
+
+2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
+
+       * automated/file-notify-tests.el
+       (file-notify--test-local-enabled): New defconst.  Replaces all
+       `file-notify-support' occurences.
+       (file-notify--test-remote-enabled): New defun.
+       (file-notify--deftest-remote): Use it.
+       (file-notify-test00-availability): Rewrite.
+       (file-notify-test00-availability-remote): New defun.
+       (file-notify-test01-add-watch): Rewrite first erroneous check.
+
+2013-07-23  Glenn Morris  <rgm@gnu.org>
+
+       * automated/inotify-test.el (inotify-file-watch-simple):
+       Delete temp-file when done.
+
+       * automated/subword-tests.el: Require subword.
+
+2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * automated/subword-tests.el: New file.
+
+2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+
+       * automated/python-tests.el (python-imenu-create-index-2)
+       (python-imenu-create-index-3): New tests.
+
+2013-07-11  Glenn Morris  <rgm@gnu.org>
+
+       * automated/ert-tests.el: Require cl-lib at runtime too.
+       (ert-test-special-operator-p): Use cl-gensym rather than ert-- version.
+       (ert-test-remprop, ert-test-remove-if-not, ert-test-remove*)
+       (ert-test-set-functions, ert-test-gensym)
+       (ert-test-coerce-to-vector, ert-test-string-position)
+       (ert-test-mismatch): Remove tests.
+       * automated/cl-lib.el: New, split from ert-tests.el.
+
+       * automated/ruby-mode-tests.el (ruby-deftest-move-to-block):
+       Goto point-min.
+       (works-on-do, zero-is-noop, ok-with-three, ok-with-minus-two)
+       (ruby-move-to-block-skips-percent-literal)
+       (ruby-move-to-block-skips-heredoc)
+       (ruby-move-to-block-moves-from-else-to-if)
+       (ruby-beginning-of-defun-does-not-fold-case)
+       (ruby-end-of-defun-skips-to-next-line-after-the-method):
+       Replace goto-line with forward-line/goto-char.
+       (ruby-move-to-block-does-not-fold-case): Remove unneeded end-of-buffer.
+
+       * automated/package-test.el (makeinfo-buffer): Autoload.
+       (compilation-in-progress, tar-parse-info, tar-header-name): Declare.
+       (package-test-install-texinfo): Don't require makeinfo.
+
+       * automated/files.el: Stop "local variables" confusion.
+
+       * automated/flymake-tests.el (flymake-tests): Remove unused group.
+
+       * automated/icalendar-tests.el (icalendar-tests--do-test-cycle):
+       Use with-current-buffer.
+
+       * automated/undo-tests.el (undo-test-buffer-modified)
+       (undo-test-file-modified): New tests.
+
+2013-07-09  Michael Albinus  <michael.albinus@gmx.de>
+
+       * automated/file-notify-tests.el (file-notify-test00-availability):
+       Set :expected-result.
+       (file-notify-test01-add-watch, file-notify-test01-add-watch-remote)
+       (file-notify-test02-events, file-notify-test02-events-remote)
+       (file-notify-test03-autorevert, file-notify-test03-autorevert-remote):
+       Skip when `file-notify-support' is nil.  (Bug#14823)
+
+2013-07-09  Glenn Morris  <rgm@gnu.org>
+
+       * automated/inotify-test.el (inotify-add-watch, inotify-rm-watch):
+       Declare.
+       (inotify-file-watch-simple): Silence compiler.
+
+       * automated/python-tests.el (python-indent-block-enders):
+       Make it actually test something.
+
+       * automated/package-x-test.el: Require package-test when compiling.
+
+       * 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.
+
+2013-07-08  Kenichi Handa  <handa@gnu.org>
+
+       * automated/decoder-tests.el (decoder-tests-prefer-utf-8-read):
+       Use with-ccoding-priority to avoid side-effect (Bug#14781).
+
+2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
+
+       * automated/file-notify-tests.el
+       (file-notify-test-remote-temporary-file-directory):
+       Use `null-device' on w32.
+       (file-notify--test-tmpfile, file-notify--test-tmpfile1)
+       (file-notify--test-results, file-notify--test-event)
+       (file-notify--deftest-remote, file-notify--event-test)
+       (file-notify--test-event-handler)
+       (file-notify--test-make-temp-name): Rename, in order to mark them
+       internal.
+       (tramp-message-show-message, tramp-read-passwd): Tweak them for
+       better fitting in noninteractive tests.
+       (file-notify-test00-availability): Rename from `file-notify-test0'.
+       (file-notify-test01-add-watch): Rename from `file-notify-test1'.
+       Use `temporary-file-directory '.
+       (file-notify-test01-add-watch-remote): New test.
+       (file-notify-test02-events): Rename from `file-notify-test2'.
+       (file-notify-test02-events-remote): Rename from `file-notify-test3'.
+       (file-notify-test03-autorevert): Rename from
+       `file-notify-test4'.  Use timeouts.
+       (file-notify-test03-autorevert-remote): Rename from
+       `file-notify-test5'.
+
+2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
+
+       * automated/file-notify-tests.el: New package.
+
+2013-06-28  Kenichi Handa  <handa@gnu.org>
+
+       * automated/decoder-tests.el (decoder-tests-gen-file): New arg FILE.
+       (decoder-tests-ao-gen-file): Rename from decoder-tests-filename.
+       Callers changed.
+       (decoder-tests-filename): New function.
+       (decoder-tests-prefer-utf-8-read)
+       (decoder-tests-prefer-utf-8-write): New function.
+       (ert-test-decoder-prefer-utf-8): New test.
+
+2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * automated/package-x-test.el: Change the commentary.
+       (package-x-test--single-archive-entry-1-3)
+       (package-x-test--single-archive-entry-1-4): Fix the tests, by
+       using the appropriate data structure.
+
+2013-06-27  Daniel Hackney  <dan@haxney.org>
+
+       * automated/Makefile.in (setwins): Include the 'data' subdirectory.
+
+       * automated/package-x-test.el: New file.
+
+       * automated/package-test.el: New file.
+
+       * automated/data/package: New directory, with test examples.
+
 2013-06-27  Glenn Morris  <rgm@gnu.org>
 
+       * automated/python-tests.el (python-tests-with-temp-file):
+       Clean up after ourself.
+
        * automated/undo-tests.el (undo-test3): Remove test that seems to
-       nothing that the previous one doesn't, except leave a tempfile.
+       do nothing that the previous one doesn't, except leave a tempfile.
 
 2013-06-26  Glenn Morris  <rgm@gnu.org>
 
        Use it to create separate tests for each element, so we run them
        all rather than stopping at the first error.
 
-2013-06-24  Glenn Morris  <rgm@fencepost.gnu.org>
+2013-06-24  Glenn Morris  <rgm@gnu.org>
 
        * automated/occur-tests.el (occur-tests):
        Update for 2013-05-29 change to occur header line.
 
 2012-12-14  Dmitry Gutov  <dgutov@yandex.ru>
 
-       * automated/ruby-mode-tests.el
+       * automated/ruby-mode-tests.el:
        Rename one interpolation test; add three more.
        (ruby-with-temp-buffer): New macro, use it where appropriate.
        (ruby-add-log-current-method-examples): Use "_" for target point.