1 ## This file is part of SXEmacs.
3 ## Redistribution and use in source and binary forms, with or without
4 ## modification, are permitted provided that the following conditions
7 ## 1. Redistributions of source code must retain the above copyright
8 ## notice, this list of conditions and the following disclaimer.
10 ## 2. Redistributions in binary form must reproduce the above copyright
11 ## notice, this list of conditions and the following disclaimer in the
12 ## documentation and/or other materials provided with the distribution.
14 ## 3. Neither the name of the author nor the names of any contributors
15 ## may be used to endorse or promote products derived from this
16 ## software without specific prior written permission.
18 ## THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
19 ## IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 ## WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21 ## DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22 ## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 ## CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 ## SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
25 ## BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26 ## WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
27 ## OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
28 ## IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 ## Process this file with automake to produce Makefile.in
32 # Help the Developers and yourself. Just use the C locale and settings
33 # for the compilation. They can still be overriden by make LANG=<whatever>
34 # but that is general a not very good idea
38 sxesrcdir = $(top_srcdir)/src
39 bldsrcdir = $(top_builddir)/src
41 misc_tests = frame.el glyph-test.el gutter-test.el \
42 redisplay-tests.el reproduce-bugs.el
43 gtk_tests = gtk/event-stream-tests.el gtk/gnome-test.el \
44 gtk/gtk-embedded-test.el gtk/gtk-extra-test.el gtk/gtk-test.el \
45 gtk/gtk-test.glade gtk/statusbar-test.el gtk/toolbar-test.el \
46 gtk/xemacs-toolbar.el gtk/UNIMPLEMENTED
47 mule_tests = mule/match.el
48 tooltalk_tests = tooltalk/beeps.el tooltalk/emacs-eval.c \
49 tooltalk/load-file.c tooltalk/make-client-frame.c \
50 tooltalk/Makefile tooltalk/simple.el
51 DLL_tests = DLL/dltest.c
52 automated_tests = automated/ase-cartesian-tests.el \
53 automated/ase-digraph-tests.el automated/ase-heap-tests.el \
54 automated/ase-interval-tests.el automated/ase-metric-tests.el \
55 automated/ase-neighbourhood-tests.el \
56 automated/ase-permutation-tests.el \
57 automated/ase-reclass-tests.el automated/base64-tests.el \
58 automated/bloom-tests.el automated/byte-compiler-tests.el \
59 automated/case-tests.el automated/ccl-tests.el \
60 automated/cl-loop-tests.el automated/c-tests.el \
61 automated/database-tests.el automated/ent-tests.el \
62 automated/extent-tests.el automated/hash-table-tests.el \
63 automated/inplace-tests.el automated/lisp-reader-tests.el \
64 automated/lisp-tests.el automated/md5-tests.el \
65 automated/mule-tests.el automated/openssl-tests.el \
66 automated/os-tests.el automated/regexp-tests.el \
67 automated/region-tests.el automated/skiplist-tests.el \
68 automated/symbol-tests.el automated/syntax-tests.el \
69 automated/tag-tests.el automated/test-harness.el \
70 automated/weak-tests.el automated/README
72 EXTRA_DIST = $(misc_tests) $(gtk_tests) $(mule_tests) \
73 $(tooltalk_tests) $(DLL_tests) $(automated_tests)
75 CLEANFILES = stage1 stage2
78 ### Produces strange banner
79 SXEMACS = $(bldsrcdir)/sxemacs
80 SXEDMP = $(SXEMACS).dmp
82 testautomdir = $(testdir)/automated
83 tests_environment = $(SXEMACS) -batch -l ${testautomdir}/test-harness.el \
84 -f batch-test-emacs $(testautomdir)
86 ## Use our former check target
87 check-am: $(SXEMACS) $(SXEDMP)
90 check-formats: $(SXEMACS) $(SXEDMP)
91 $(SXEMACS) -l ${testautomdir}/test-harness.el \
92 -f batch-test-emacs $(testautomdir)/format-tests.el
94 check-map: $(SXEMACS) $(SXEDMP)
95 $(SXEMACS) -l ${testautomdir}/test-harness.el \
96 -f batch-test-emacs $(testautomdir)/map-tests.el
98 check-skiplists: $(SXEMACS) $(SXEDMP)
99 $(SXEMACS) -l ${testautomdir}/test-harness.el \
100 -f batch-test-emacs $(testautomdir)/skiplist-tests.el
102 check-%: $(SXEMACS) $(SXEDMP)
103 $(SXEMACS) -l ${testautomdir}/test-harness.el \
104 -f batch-test-emacs $(testautomdir)/$*-tests.el
107 .PHONY: stage1 stage2
110 @echo "$@ in progress ..."
116 @echo "$@ in progress ..."
120 ### dont use staged build