summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-02-19 12:31:56 +0100
committerStefan Kangas <stefan@marxist.se>2021-02-21 20:20:40 +0100
commit2790c6a572a905359c60f055c682b28ef5c8ff0d (patch)
treef1ead4a299220d2534b9ec4fddd2a11abfe481ac /admin
parentff759b1d0a901e5408a9dfea6c6bc77d1ae1dbf3 (diff)
downloademacs-2790c6a572a905359c60f055c682b28ef5c8ff0d.tar.gz
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.
Diffstat (limited to 'admin')
-rw-r--r--admin/cus-test.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/admin/cus-test.el b/admin/cus-test.el
index afd5f4ceaec..30b5f655617 100644
--- a/admin/cus-test.el
+++ b/admin/cus-test.el
@@ -37,6 +37,13 @@
;;
;; src/emacs -batch -l admin/cus-test.el -f cus-test-noloads
;;
+;; or as a part of the test suite with
+;;
+;; make -C test test-custom-opts
+;; make -C test test-custom-deps
+;; make -C test test-custom-libs
+;; make -C test test-custom-noloads
+;;
;; in the emacs source directory.
;;
;; For interactive use: Load this file. Then