diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-02-19 12:31:56 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-02-21 20:20:40 +0100 |
commit | 2790c6a572a905359c60f055c682b28ef5c8ff0d (patch) | |
tree | f1ead4a299220d2534b9ec4fddd2a11abfe481ac /test/lisp/custom-tests.el | |
parent | ff759b1d0a901e5408a9dfea6c6bc77d1ae1dbf3 (diff) | |
download | emacs-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 'test/lisp/custom-tests.el')
-rw-r--r-- | test/lisp/custom-tests.el | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/lisp/custom-tests.el b/test/lisp/custom-tests.el index 10854c71d56..09f79c1a089 100644 --- a/test/lisp/custom-tests.el +++ b/test/lisp/custom-tests.el @@ -145,17 +145,6 @@ (widget-apply field :value-to-internal origvalue) "bar")))))) -(defconst custom-test-admin-cus-test - (expand-file-name "admin/cus-test.el" source-directory)) - -(declare-function cus-test-opts custom-test-admin-cus-test) - -(ert-deftest check-for-wrong-custom-types () - :tags '(:expensive-test) - (skip-unless (file-readable-p custom-test-admin-cus-test)) - (load custom-test-admin-cus-test) - (should (null (cus-test-opts t)))) - (ert-deftest custom-test-enable-theme-keeps-settings () "Test that enabling a theme doesn't change its settings." (let* ((custom-theme-load-path `(,(ert-resource-directory))) |