diff options
Diffstat (limited to 'admin/cus-test.el')
-rw-r--r-- | admin/cus-test.el | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/admin/cus-test.el b/admin/cus-test.el index 995586f9c71..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 @@ -320,7 +327,8 @@ If it is \"all\", load all Lisp files." (lambda (file) (condition-case alpha (unless (member file cus-test-libs-noloads) - (load (file-name-sans-extension (expand-file-name file lispdir))) + (load (file-name-sans-extension (expand-file-name file lispdir)) + nil t) (push file cus-test-libs-loaded)) (error (push (cons file alpha) cus-test-libs-errors) @@ -349,6 +357,8 @@ Optional argument ALL non-nil means list all (non-obsolete) Lisp files." (mapcar (lambda (e) (substring e 2)) (apply #'process-lines find-program "." "-name" "obsolete" "-prune" "-o" + "-name" "ldefs-boot.el" "-prune" "-o" + "-name" "*loaddefs.el" "-prune" "-o" "-name" "[^.]*.el" ; ignore .dir-locals.el (if all '("-print") |