aboutsummaryrefslogtreecommitdiffstats
path: root/test/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug#13064Michael Albinus2014-01-131-0/+5
| | | | | * automated/ert-tests.el (ert-test-record-backtrace): Reenable test case with adapted test string. (Bug#13064)
* ChangeLog fixesGlenn Morris2014-01-101-11/+10
|
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* * test/automated/electric-tests.el: Require 'elec-pair.Glenn Morris2013-12-271-4/+8
| | | | Set copyright holder to FSF.
* Fix Electric Pair mode's autowrapping tests in batch-mode.João Távora2013-12-271-1/+6
|
* Make Electric Pair mode smarter/more useful:João Távora2013-12-261-0/+3
| | | | | | | | | | | | | | | | * lisp/electric.el: Pairing/skipping helps preserve balance. Autobackspacing behaviour. Opens extra newlines between pairs. Skip whitespace before closing delimiters. * lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Use new features. * test/automated/electric-tests.lisp: New file. * doc/emacs/programs.texi: Describe new features. * lisp/simple.el: Pass non-nil interactive arg to newline call inside newline-and-indent.
* * lisp/progmodes/python.el:Fabián Ezequiel Gallina2013-12-251-0/+6
| | | | | | | | | | | | | | | | | | | (python-nav--lisp-forward-sexp): New function. (python-nav--lisp-forward-sexp-safe): Use it. Rename from python-nav-lisp-forward-sexp-safe. (python-nav--forward-sexp): New argument SAFE allows switching forward sexp movement behavior for parens. (python-nav-forward-sexp): Throw errors on unterminated parens. (python-nav-backward-sexp, python-nav-forward-sexp-safe) (python-nav-backward-sexp-safe): New functions. (python-shell-buffer-substring): Use `python-nav-forward-sexp-safe'. * test/automated/python-tests.el (python-nav-lisp-forward-sexp-safe-1): Remove test. (python-nav-forward-sexp-safe-1): New test. Fixes: debbugs:16191
* * lisp/progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): NewDmitry Gutov2013-12-201-0/+8
| | | | | | | | | | | | | | | | | | option. (ruby-smie--indent-to-stmt-p): Use it. (ruby-smie-rules): Revert the logic in the handling of `when'. Expand the `begin' clause to handle `ruby-align-to-stmt-keywords'. (ruby-deep-arglist, ruby-deep-indent-paren) (ruby-deep-indent-paren-style): Update docstrings to note that the vars don't have any effect with SMIE. * test/automated/ruby-mode-tests.el: Add tests for `ruby-align-to-stmt-keywords'. * test/indent/ruby.rb: Update examples to reflect the lack of change in default indentation of `begin' blocks. Fixes: debbugs:16182
* Fix bug#16116Dmitry Gutov2013-12-171-0/+5
| | | | | | | | | | * lisp/emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'. (smie-indent-close): Call `smie-indent--rule-1' with METHOD :close-all, to see which indentation method to use. (smie-rules-function): Document the method :close-all. * test/indent/ruby.rb: Update examples according to the change in `smie-indent-close'.
* Fix bug#16118Dmitry Gutov2013-12-141-0/+4
| | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-smie-rules): Return nil before open-paren tokens when preceded by a open-paren, too. (ruby-smie-rules): Handle virtual indentation after open-paren tokens specially. If there is code between it and eol, return the column where is starts. * test/indent/ruby.rb: New examples.
* * lisp/progmodes/python.el (python-indent-calculate-indentation): FixFabián Ezequiel Gallina2013-12-121-0/+4
| | | | | | | | de-denters cornercase. * test/automated/python-tests.el (python-indent-dedenters-2): New test. Fixes: debbugs:15731
* Spelling fixes.Paul Eggert2013-12-121-1/+1
|
* * lisp/progmodes/python.el (python-indent-context)Fabián Ezequiel Gallina2013-12-121-0/+5
| | | | | | | | | | (python-indent-calculate-indentation): Fix auto-identation behavior for comment blocks. * test/automated/python-tests.el (python-indent-after-comment-1) (python-indent-after-comment-2): New tests. Fixes: debbugs:15916
* * lisp/progmodes/python.el (python-indent-calculate-indentation): WhenNathan Trapuzzano2013-12-121-0/+6
| | | | | | | | | | | determining indentation, don't treat "return", "pass", etc., as operators when they are just string constituents. * automated/python-test.el (python-indent-block-enders-1): Rename from python-indent-block-enders. (python-indent-block-enders-2): New test. Fixes: debbugs:15812
* Mention test/indent/js.js, and restore one lost piece of itDmitry Gutov2013-12-081-0/+4
| | | | * test/indent/js.js: New file.
* Commit missing ChangeLog entry.Michael Albinus2013-12-061-0/+4
|
* * lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^.Cameron Desautels2013-12-051-8/+9
| | | | | | * test/automated/regexp-tests.el: New file. Fixes: debbugs:16046
* Fix reftex-tests on MS-Windows.Eli Zaretskii2013-11-291-0/+4
| | | | | | test/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.
* Fix decoder-tests test on MS-Windows.Eli Zaretskii2013-11-291-0/+7
| | | | | | | test/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.
* Replace PATH_SEP with pre-existing SEPCHAR.Glenn Morris2013-11-281-0/+4
| | | | | * configure.ac: * test/automated/Makefile.in: Use SEPCHAR in place of PATH_SEP.
* Fix the test suite on Windows.Eli Zaretskii2013-11-281-0/+6
| | | | | | | | configure.ac (PATH_SEP): Set and AC_SUBST. test/automated/Makefile.in (PATH_SEP): Set this instead of PATH_SEPARATOR. (EMACSOPT): Use $(PATH_SEP).
* * automated/file-notify-tests.el (auto-revert-stop-on-user-input):Michael Albinus2013-11-281-0/+5
| | | | Set to nil.
* * automated/file-notify-tests.elMichael Albinus2013-11-271-0/+17
| | | | | | | | | | | | | | | | (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.
* Improve a couple of changelog entries.Bozhidar Batsov2013-11-261-2/+5
|
* Stop some python tests leaving temp-files behindGlenn Morris2013-11-231-0/+4
| | | | | | * test/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.
* Use skip-unless in some python testsGlenn Morris2013-11-231-0/+6
| | | | | | | | * test/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.
* Empty elements in EMACSLOADPATH now stand for the defaultGlenn Morris2013-11-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/lread.c (load_path_check): Take path to check as argument. (load_path_default): New, split from init_lread. (init_lread): Move calc of default load-path to load_path_default. Empty elements in EMACSLOADPATH now stand for the default. (load-path): Doc fix. * src/emacs.c (decode_env_path): Add option to treat empty elements as nil rather than ".". * src/callproc.c (init_callproc_1, init_callproc): * src/image.c (Vx_bitmap_file_path): * src/lisp.h (decode_env_path): * lread.c (Vsource_directory): Update for new argument spec of decode_env_path. * leim/Makefile.in (RUN_EMACS): Empty EMACSLOADPATH rather than unsetting. * lisp/Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting. * test/automated/Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting. * doc/emacs/cmdargs.texi (General Variables): Empty elements in EMACSLOADPATH now mean the default load-path. * doc/lispref/loading.texi (Library Search): Empty elements in EMACSLOADPATH now mean the default load-path. * etc/NEWS: Mention this. Fixes: debbugs:12100
* Add missing ChangeLog entriesBozhidar Batsov2013-11-221-0/+7
|
* * automated/ruby-mode-tests.el (ruby-exit!-font-lock): Set expected-result.Glenn Morris2013-11-211-0/+5
|
* * test/automated/Makefile.in (XARGS_LIMIT): New, set by configure.Glenn Morris2013-11-201-0/+3
| | | | | | (compile-main): Pass XARGS_LIMIT to xargs. (Cargo-culted from lisp/Makefile.in.)
* Use path-separator with -L, rather than just :Glenn Morris2013-11-201-0/+5
| | | | | | | | | | | * lisp/startup.el (command-line-1): Use path-separator with -L. * test/automated/Makefile.in (PATH_SEPARATOR): New, set by configure. (EMACSOPT): Use PATH_SEPARATOR. * doc/emacs/cmdargs.texi (Action Arguments): Use path-separator with -L. * etc/NEWS: Related edit.
* Improve API of recently-added bool vector functions.Paul Eggert2013-11-181-0/+5
| | | | | | | | | | | | | | | | | | The old API had (bool-vector-count-matches A B) and (bool-vector-count-matches-at A B I), which gave the misleading impression that the two functions were variants, one with a location I. The new API has (bool-vector-count-population A) and (bool-vector-count-consecutive A B I) to make the distinction clearer. The first function no longer has a B argument, since the caller can easily determine the number of nils if the length and number of ts is known. * src/data.c (Fbool_vector_count_population): Rename from bool_vector_count_matches, and accept just 1 argument. (Fbool_vector_count_consecutive): Rename from Fbool_vector_count_matches_at. * test/automated/data-tests.el: Adjust to API changes. Fixes: debbugs:15912
* * automated/tramp-tests.el (tramp-test07-file-exists-p)Michael Albinus2013-11-161-0/+16
| | | | | | | | | | | | | | | (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.
* * automated/tramp-tests.el (tramp-test29-utf8): Cleanup theMichael Albinus2013-11-151-0/+5
| | | | connection before running the test. Reenable last test case.
* * automated/tramp-tests.el (tramp-test15-copy-directory)Michael Albinus2013-11-151-2/+16
| | | | | | | | | | | | (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.
* * automated/file-notify-tests.el (file-notify-test02-events)Michael Albinus2013-11-131-0/+10
| | | | | | | | | (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".
* * automated/tramp-tests.el (tramp-test-temporary-file-directory):Michael Albinus2013-11-111-0/+10
| | | | | | | | | 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".
* * automated/file-notify-tests.el:Michael Albinus2013-11-081-1/+5
| | | | | | | | * 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.
* * automated/tramp-tests.el: Add `tramp-own-remote-path' to `tramp-remote-path'.Michael Albinus2013-11-081-0/+5
|
* Rename test/automated/sentinel-tests.el to process-tests.elStefan Monnier2013-11-071-1/+1
|
* * test/automated/sentinel-tests.el: New file.Helmut Eller2013-11-071-0/+4
|
* * lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedencesDmitry Gutov2013-11-081-0/+4
| | | | | | | | | | | | | | | | | of "and", "or", "&&" and "||". (ruby-smie--args-separator-p): Prohibit keyword "do" as the first argument. Prohibit opening curly brace because it could only be a block opener in that position. (ruby-smie--forward-token, ruby-smie--backward-token): Separate "|" from "&" or "*" going after it. That can happen in block arguments. (ruby-smie--indent-to-stmt): New function, seeks the end of previous statement or beginning of buffer. (ruby-smie-rules): Use it. (ruby-smie-rules): Check if there's a ":" before a curly block opener candidate; if there is, it's a hash. * test/indent/ruby.rb: New examples.
* Guard against possible accidental matches with parent dirs in MakefilesGlenn Morris2013-11-061-0/+4
| | | | | | | * lisp/Makefile.in (setwins_almost, setwins_for_subdirs): Avoid accidental matches. * test/automated/Makefile.in (setwins): Avoid accidental matches.
* * automated/tramp-tests.el (tramp-test07-file-exists-p):Michael Albinus2013-11-061-0/+5
| | | | Fix docstring. Instrument, in order to hunt failure on hydra.
* Skip some tests rather than expect failure when prereqs not metGlenn Morris2013-11-051-0/+9
| | | | | | | | | * 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.
* * automated/tramp-tests.el: New file.Michael Albinus2013-11-051-0/+4
|
* Get rid of --chdir usage in test/automatedGlenn Morris2013-11-041-0/+8
| | | | | | | | | * test/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 directoryGlenn Morris2013-11-041-0/+8
| | | | | | | | | | * test/automated/flymake-tests.el (flymake-tests-data-directory): New. (flymake-tests--current-face): Use flymake-tests-data-directory. (warning-predicate-function-gcc, warning-predicate-rx-perl) (warning-predicate-function-perl): Adapt for above change. * test/automated/zlib-tests.el (zlib-tests-data-directory): New. (zlib--decompress): Use zlib-tests-data-directory.
* * test/automated/eieio-tests.el (eieio-test-37-persistent-classes):Glenn Morris2013-11-041-0/+3
| | | | | | | | Remove test that makes no sense. It simply loads a file that contains some tests. Loading the file does not run the tests, and the test are already being run independently (which obviously involves loading the file), since every .el file in this directory is automatically used in that way.
* * test/automated/files.el (files-test-local-variable-data): Fix result typoGlenn Morris2013-11-041-0/+6
| | | | | presumably caused by interference from dir-locals. (file-test--do-local-variables-test): Prevent dir-locals interfering.