summaryrefslogtreecommitdiff
path: root/admin/cus-test.el
diff options
context:
space:
mode:
authorMarkus Rost <rost@math.uni-bielefeld.de>2002-10-08 20:08:55 +0000
committerMarkus Rost <rost@math.uni-bielefeld.de>2002-10-08 20:08:55 +0000
commit1e76e7a0662fc4c011d79f37e4c6af6ca8032e84 (patch)
treebf5063146529323c5df6ad9abd2c2a3cbd9fd8c3 /admin/cus-test.el
parenta6e0b91c1a93de1546879c3d103f5ee618b22395 (diff)
downloademacs-1e76e7a0662fc4c011d79f37e4c6af6ca8032e84.tar.gz
Describe the shell command for running cus-test-all in the emacs
source directory. Fix typo. Require cus-load explicitly.
Diffstat (limited to 'admin/cus-test.el')
-rw-r--r--admin/cus-test.el16
1 files changed, 11 insertions, 5 deletions
diff --git a/admin/cus-test.el b/admin/cus-test.el
index 2ed5633b508..c7580ef0786 100644
--- a/admin/cus-test.el
+++ b/admin/cus-test.el
@@ -63,7 +63,11 @@
;;
;; M-x cus-test-all
;;
-;; This function is suitable for batch mode.
+;; This function is suitable for batch mode. E.g., invoke
+;;
+;; src/emacs -batch -l admin/cus-test.el -f cus-test-all
+;;
+;; in the emacs source directory.
;;
;; To make cus-test work one has usually to work-around some existing
;; bugs/problems. Therefore this file contains a "Workaround"
@@ -178,13 +182,13 @@ It is run after `cus-test-load-custom-loads' and `cus-test-load-libs'")
"List of problematic variables found by `cus-test-apropos'.")
;; I haven't understood this :get stuff. However, there are only very
-;; few variables with a custom-get property. Such Symbols are stored
+;; few variables with a custom-get property. Such symbols are stored
;; in `cus-test-variables-with-custom-get'.
(defvar cus-test-variables-with-custom-get nil
"Set by `cus-test-apropos' to a list of options with :get property.")
-;; This loads cus-loads.el, too.
(require 'cus-edit)
+(require 'cus-load)
(defun cus-test-apropos (regexp)
"Check the options matching REGEXP.
@@ -331,9 +335,11 @@ This function is useful to detect load problems of libraries."
(defun cus-test-all nil
"Run a maximal test by cus-test.
-This function is suitable for batch mode, e.g., invoke
+This function is suitable for batch mode. E.g., invoke
+
+ src/emacs -batch -l admin/cus-test.el -f cus-test-all
-emacs -batch -l cus-test.el -f cus-test-all"
+in the emacs source directory."
(interactive)
;; This does not seem to increase the number of tested options.
;; (message "Running %s" 'cus-test-load-libs)