Add ability to dump command line options in texi format
[maxima.git] / tests / Makefile.am
blobebbeae3bdc5198e91ca02d53467923c89d6f1d4c
1 include $(top_srcdir)/common.mk
2 MAXIMA = $(abs_top_builddir)/maxima-local
3 MAXIMA_LAYOUT_AUTOTOOLS = true
4 export
6 TESTS =
7 CLEANFILES = 
9 if CLISP
10 TESTS += clisp-test.sh
11 CLEANFILES += clisp-test.sh clisp.log clisp_share.log
12 clisp-test.sh: test.sh Makefile
13         echo "#!/bin/sh" > $@
14         echo "./test.sh clisp" >> $@
15         chmod +x "$@"
16 endif
18 if CMUCL
19 TESTS += cmucl-test.sh
20 CLEANFILES += cmucl-test.sh cmucl.log cmucl_share.log
21 cmucl-test.sh: test.sh Makefile
22         echo "#!/bin/sh" > $@
23         echo "./test.sh cmucl" >> $@
24         chmod +x "$@"
25 endif
27 if SCL
28 TESTS += scl-test.sh
29 CLEANFILES += scl-test.sh scl.log scl_share.log
30 scl-test.sh: test.sh Makefile
31         echo "#!/bin/sh" > $@
32         echo "./test.sh scl" >> $@
33         chmod +x "$@"
34 endif
36 if SBCL
37 TESTS += sbcl-test.sh
38 CLEANFILES += sbcl-test.sh sbcl.log sbcl_share.log
39 sbcl-test.sh: test.sh Makefile
40         echo "#!/bin/sh" > $@
41         echo "./test.sh sbcl" >> $@
42         chmod +x "$@"
43 endif
45 if GCL
46 TESTS += gcl-test.sh
47 CLEANFILES += gcl-test.sh gcl.log gcl_share.log
48 gcl-test.sh: test.sh Makefile
49         echo "#!/bin/sh" > $@
50         echo "./test.sh gcl" >> $@
51         chmod +x "$@"
52 endif
54 if ACL
55 TESTS += acl-test.sh
56 CLEANFILES += acl-test.sh acl.log acl_share.log
57 acl-test.sh: test.sh Makefile
58         echo "#!/bin/sh" > $@
59         echo "./test.sh acl" >> $@
60         chmod +x "$@"
61 endif
63 if OPENMCL
64 TESTS += openmcl-test.sh
65 CLEANFILES += openmcl-test.sh openmcl.log openmcl_share.log
66 openmcl-test.sh: test.sh Makefile
67         echo "#!/bin/sh" > $@
68         echo "./test.sh openmcl" >> $@
69         chmod +x "$@"
70 endif
72 if CCL64
73 TESTS += ccl64-test.sh
74 CLEANFILES += ccl64-test.sh ccl64.log ccl64_share.log
75 ccl64-test.sh: test.sh Makefile
76         echo "#!/bin/sh" > $@
77         echo "./test.sh ccl64" >> $@
78         chmod +x "$@"
79 endif
81 if ECL
82 TESTS += ecl-test.sh
83 CLEANFILES += ecl-test.sh ecl.log ecl_share.log
84 ecl-test.sh: test.sh Makefile
85         echo "#!/bin/sh" > $@
86         echo "./test.sh ecl" >> $@
87         chmod +x "$@"
88 endif
90 if ABCL
91 TESTS += abcl-test.sh
92 CLEANFILES += abcl-test.sh abcl.log abcl_share.log
93 abcl-test.sh: test.sh Makefile
94         echo "#!/bin/sh" > $@
95         echo "./test.sh abcl" >> $@
96         chmod +x "$@"
97 endif
99 genericdir = $(insttestsdir)
100 genericdirDATA = $(wildcard $(addprefix $(srcdir)/, README.how-to mcond_display_elseif.out *.mac *.lisp *.wxm wester_problems/*))
102 EXTRA_DIST = $(genericdirDATA) test.sh.in