Revision: mange@freemail.hu--2005/emacs-jabber--cvs-head--0--patch-515

Creator:  Magnus Henoch <mange@freemail.hu>

New test: check that all files can be loaded
This commit is contained in:
Magnus Henoch 2008-05-30 21:57:15 +00:00 committed by Kirill A. Korinskiy
parent 8b1147e3fa
commit 2d24e39887
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,3 @@
TESTS_ENVIRONMENT = $(EMACS) -batch -L $(top_builddir) -l
TESTS = skip-tag-forward.el history.el
TESTS_ENVIRONMENT = env top_builddir=$(top_builddir) $(EMACS) -batch -L $(top_builddir) -l
TESTS = load-all.el skip-tag-forward.el history.el
dist_noinst_DATA = $(TESTS)

8
tests/load-all.el Normal file
View File

@ -0,0 +1,8 @@
;; Test that all files can be loaded
(let* ((default-directory (expand-file-name (getenv "top_builddir")))
(elc-files (file-expand-wildcards "*.elc" t)))
(dolist (f elc-files)
(load f nil t)))
;; arch-tag: 509c4808-2e92-11dd-9c8c-000a95c2fcd0