Commit graph

53 commits

Author SHA1 Message Date
Stefan Kangas 2790c6a572 Run admin/cus-tests.el tests from test suite
* test/Makefile.in (SUBDIRS): Run tests in new directory "misc",
intended for tests not belonging to any one file.
* test/misc/test-custom-deps.el:
* test/misc/test-custom-libs.el:
* test/misc/test-custom-noloads.el:
* test/misc/test-custom-opts.el: New files.
* test/lisp/custom-tests.el (custom--test-local-option): Move test to
above new file test-custom-opts.el.

* admin/cus-test.el: Document running tests from regular test suite.
* test/file-organization.org (Test Files): Document new test directory
"misc" for tests not belonging to any one file.
2021-02-21 20:20:40 +01:00
Glenn Morris b2fe1bbd06 * admin/cus-test.el (cus-test-load-libs): Quieten loading. 2021-02-16 12:03:39 -08:00
Glenn Morris f2bf357308 * admin/cus-test.el (cus-test-get-lisp-files): Ignore loaddefs files. 2021-02-16 12:01:25 -08:00
Stefan Monnier 24b9515da0 * admin/*.el: Use lexical-binding
* admin/admin.el: Use lexical-binding.
(manual-misc-manuals): Pass a limit to `looking-back`.
(reminder-for-release-blocking-bugs): Don't use `_` for a real variable.

* admin/authors.el: Use lexical-binding.
(authors-disambiguate-file-name): Remove unused var `parent`.

* admin/cus-test.el:
* admin/find-gc.el:
* admin/gitmerge.el: Use lexical-binding.
2021-01-31 18:00:39 -05:00
Paul Eggert ba05d005e5 Update copyright year to 2021
Run "TZ=UTC0 admin/update-copyright".
2021-01-01 01:13:56 -08:00
Mattias Engdegård 4d57124fc8 Fix custom-tests with non-GNU grep
* admin/cus-test.el (cus-test-get-lisp-files): Add path argument required
by standard grep (BSD, for instance).
2020-09-29 11:24:38 +02:00
Lars Ingebrigtsen 664927b525 Add an expensive test for defcustom types
* admin/cus-test.el (cus-test-opts): Return the tests.

* test/lisp/custom-tests.el (check-for-wrong-custom-types): Test
custom types (bug#30990).
2020-09-25 14:46:36 +02:00
Paul Eggert 365e01cc9f Update copyright year to 2020
Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
2020-01-01 00:59:52 +00:00
Paul Eggert 797ee5871e Remove Maintainer: when it duplicates Author:
The convention is that a file with Author: but not Maintainer:
means the author is a maintainer, which makes it confusing
when a file lists the same person as author and maintainer.
Avoid the confusion by removing the duplicate Maintainer: line.
2019-05-26 01:00:15 -07:00
Paul Eggert 26bed8ba10 Update copyright year to 2019
Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
2019-01-01 01:01:13 +00:00
Paul Eggert 5c7dd8a783 Update copyright year to 2018
Run admin/update-copyright.
2018-01-01 00:57:59 -08:00
Paul Eggert bc511a64f6 Prefer HTTPS to FTP and HTTP in documentation
Most of this change is to boilerplate commentary such as license URLs.
This change was prompted by ftp://ftp.gnu.org's going-away party,
planned for November.  Change these FTP URLs to https://ftp.gnu.org
instead.  Make similar changes for URLs to other organizations moving
away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
fsf.org when this works, as this will further help defend against
man-in-the-middle attacks (for this part I omitted the MS-DOS and
MS-Windows sources and the test tarballs to keep the workload down).
HTTPS is not fully working to lists.gnu.org so I left those URLs alone
for now.
2017-09-13 15:54:37 -07:00
Paul Eggert 5badc81c1c Update copyright year to 2017
Run admin/update-copyright.
2016-12-31 19:42:26 -08:00
Paul Eggert 0e963201d0 Update copyright year to 2016
Run admin/update-copyright.
2016-01-01 01:34:24 -08:00
Paul Eggert 7e09ef09a4 Update copyright year to 2015
Run admin/update-copyright.
2015-01-01 14:26:41 -08:00
Paul Eggert ba3189039a Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
Glenn Morris c62a196109 * admin/admin.el (cusver-scan): Warn about missing :types.
(cusver-check): Interactively, require existing directories.

* admin/cus-test.el: Comment.
2013-12-28 00:33:44 -08:00
Glenn Morris f0024d8c0d Fix some custom types
* lisp/cus-start.el (truncate-partial-width-windows): Fix type.

* lisp/emulation/viper-init.el (viper-search-scroll-threshold): Fix type.

* lisp/mail/feedmail.el (feedmail-confirm-outgoing)
(feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.

* admin/admin.el: Related comments.
2013-08-13 00:42:51 -07:00
Glenn Morris 5ebfa896ae Add some cus-test.el stuff for custom groups
* admin/cus-test.el (cus-test-cus-load-groups): New function.
(cus-test-get-options): Add option to return groups.
(cus-test-noloads): Also check custom groups.
2013-05-15 20:20:34 -04:00
Glenn Morris 29efd4698b More cus-test.el tweaks
* admin/cus-test.el (cus-test-get-lisp-files): Ignore obsolete/.
(cus-test-libs): Fix let-binding of default-directory.
(cus-test-noloads): Load all libs for the comparison.
2013-05-13 22:12:19 -04:00
Glenn Morris 5d10860617 More cus-test.el tweaks
* admin/cus-test.el (cus-test-libs-noloads): Add a few more files.
(cus-test-load-libs, cus-test-opts):
Add option to load more/all Lisp files.
(cus-test-get-lisp-files): Ignore .*.el files.
2013-05-10 19:29:57 -07:00
Glenn Morris a3f276d8ff Add option for cus-test.el to load all Lisp files
* admin/cus-test.el (cus-test-libs-noloads): Add some files.
(cus-test-get-lisp-files): New function.
(cus-test-libs): Add option to load more/all Lisp files.
2013-05-10 00:31:34 -07:00
Glenn Morris d631786abe admin/cus-test,el misc updates
Mainly for some files listed in loaddefs.el now being in subdirs that
are not in load-path.

* admin/cus-test.el (cus-test-libs-noloads): Add dunnet in the defvar.
(dunnet): Don't always load it.
(viper-mode): Only set if interactive.
(cus-test-load-custom-loads): Load dunnet if necessary.
(cus-test-load-1): New macro, with common code from cus-test-load-libs
and cus-test-libs.
(cus-test-load-libs, cus-test-libs): Use cus-test-load-1 macro.
Update for cus-test-get-autoload-deps changed result.
(cus-test-get-autoload-deps): Simplify.  Return file names as they
appear in loaddefs.el (directory parts are needed now that not all
lisp subdirs are in load-path).
(cus-test-deps): Explicitly skip dunnet.
2013-05-08 23:09:39 -07:00
Glenn Morris 2dee4d5e14 * admin/cus-test.el: No need to provide bbdb, bbdb-com any more.
Remove some outdated comments.
2013-05-08 20:17:44 -07:00
Paul Eggert ab422c4d68 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
Glenn Morris acaf905b11 Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
Glenn Morris 95df8112a0 Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
Glenn Morris 73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris 0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Glenn Morris 5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Glenn Morris 114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Glenn Morris f858db9ff1 Add 2009 to copyright years. 2009-01-08 04:24:42 +00:00
Glenn Morris 9ad5de0c1c Switch to recommended form of GPLv3 permissions notice. 2008-05-09 23:48:10 +00:00
Glenn Morris b9b14d130b Add 2008 to copyright years. 2008-01-07 08:31:52 +00:00
Glenn Morris 4a9f99bdfb Switch license to GPLv3 or later. 2007-07-25 05:08:27 +00:00
Glenn Morris 4e6835dbc4 Add 2007 to copyright years. 2007-01-21 04:57:37 +00:00
Glenn Morris 1a753ab125 Revert previous change (file checked into CVS 2002). 2006-12-05 07:08:56 +00:00
Glenn Morris e91081eb9e Update copyright years. 2006-12-05 06:15:26 +00:00
Ramprasad B 1c4181cc11 updated copyright year(s) 2006-04-20 05:05:33 +00:00
Lute Kamstra 0d07bc90bc Update FSF's address. 2005-07-04 14:42:45 +00:00
Miles Bader ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Markus Rost 6d84ca3718 Remove obsolete workaround. 2003-08-11 19:19:57 +00:00
Markus Rost 002cba7933 Reworked. Added a new test cus-test-noloads. And a quiz. 2002-10-16 04:41:59 +00:00
Markus Rost e170d16cb0 (cus-test-libs): Use equal instead of =. 2002-10-15 05:15:40 +00:00
Markus Rost 2a7e0e4148 Minor change. 2002-10-14 22:20:42 +00:00
Markus Rost bf7a63e1f9 Undo previous change, but leave a comment.
(cus-test-opts): Call cus-test-load-libs.
2002-10-14 20:28:24 +00:00
Markus Rost 95dc5eeb17 (cus-test-deps): Don't care about deps in lisp/term/. 2002-10-14 01:17:49 +00:00
Markus Rost 6be19e6028 Further changes. Improve the reports from batch runs.
(cus-test-libs): Run load tests in external processes.
2002-10-13 02:47:54 +00:00
Markus Rost bd9aba20d4 Supplementary streamlining. 2002-10-10 23:25:11 +00:00
Markus Rost 592cd48bf6 Extended and reorganized.
There are now 3 tests which can be run in batch mode.
See the Commentary section.
2002-10-10 22:50:35 +00:00