1 ## Process this file with automake to create Makefile.in
3 # Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
4 # 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation,
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2, or (at your option)
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
29 pr8365-remake-timing.test \
30 lex-subobj-nodep.test \
31 remake-am-pr10111.test \
32 remake-m4-pr10111.test \
35 include $(srcdir)/parallel-tests.am
37 $(srcdir)/parallel-tests.am: gen-parallel-tests Makefile.am
38 $(AM_V_GEN)(cd $(srcdir) && $(SHELL) ./gen-parallel-tests) >$@
40 $(parallel_tests): $(parallel_tests:-p.test=.test) Makefile.am
41 $(AM_V_GEN)input=`echo $@ | sed 's,.*/,,; s,-p.test$$,.test,'` \
42 && sed 's|^\. \./defs.*|parallel_tests=yes; &|' \
43 < $(srcdir)/$$input >$@ \
46 MAINTAINERCLEANFILES = $(parallel_tests)
48 # Some testsuite-influential variables should be overridable from the
49 # test scripts, but not from the environment.
51 test x"$$me" = x || unset me; \
52 test x"$$required" = x || unset required; \
53 test x"$$parallel_tests" = x || unset parallel_tests;
55 TEST_EXTENSIONS = .pl .test
57 PL_LOG_COMPILER = $(PERL)
58 AM_PL_LOG_FLAGS = -Mstrict -I $(top_builddir)/lib -I $(top_srcdir)/lib -w
60 include $(srcdir)/list-of-tests.mk
62 TESTS = $(handwritten_TESTS) $(parallel_tests)
64 # FIXME: make these automatically computed once we are merged into
65 # FIXME: the `testsuite-work' branch.
66 ar-lib4.log: libtool-macros.log
67 ar-lib6a.log: libtool-macros.log
68 ar-lib6b.log: libtool-macros.log
69 depcomp4.log: libtool-macros.log
70 depcomp7.log: libtool-macros.log
71 depcomp8b.log: libtool-macros.log
72 extradep2.log: libtool-macros.log
73 fort5.log: libtool-macros.log
74 instdir-ltlib.log: libtool-macros.log
75 instfail-libtool.log: libtool-macros.log
76 ldadd.log: libtool-macros.log
77 ldflags.log: libtool-macros.log
78 libobj13.log: libtool-macros.log
79 libtoo10.log: libtool-macros.log
80 libtoo11.log: libtool-macros.log
81 libtool.log: libtool-macros.log
82 libtool2.log: libtool-macros.log
83 libtool3.log: libtool-macros.log
84 libtool5.log: libtool-macros.log
85 libtool6.log: libtool-macros.log
86 libtool7.log: libtool-macros.log
87 libtool8.log: libtool-macros.log
88 libtool9.log: libtool-macros.log
89 listval.log: libtool-macros.log
90 ltcond.log: libtool-macros.log
91 ltcond2.log: libtool-macros.log
92 ltconv.log: libtool-macros.log
93 ltdeps.log: libtool-macros.log
94 ltinit.log: libtool-macros.log
95 ltinstloc.log: libtool-macros.log
96 ltlibobjs.log: libtool-macros.log
97 ltlibsrc.log: libtool-macros.log
98 ltorder.log: libtool-macros.log
99 nobase-libtool.log: libtool-macros.log
100 pr211.log: libtool-macros.log
101 pr300-ltlib.log: libtool-macros.log
102 pr307.log: libtool-macros.log
103 pr401b.log: libtool-macros.log
104 pr72.log: libtool-macros.log
105 reqd2.log: libtool-macros.log
106 silent3.log: libtool-macros.log
107 silent4.log: libtool-macros.log
108 silent9.log: libtool-macros.log
109 stdlib2.log: libtool-macros.log
110 strip3.log: libtool-macros.log
111 subobj9.log: libtool-macros.log
112 suffix10.log: libtool-macros.log
113 suffix2.log: libtool-macros.log
114 suffix5.log: libtool-macros.log
115 suffix8.log: libtool-macros.log
116 vala.log: libtool-macros.log
117 vala1.log: libtool-macros.log
118 vala2.log: libtool-macros.log
119 vala3.log: libtool-macros.log
120 vala4.log: libtool-macros.log
121 vala5.log: libtool-macros.log
123 # FIXME: make these automatically computed once we are merged into
124 # FIXME: the `testsuite-work' branch.
125 gettext.log: gettext-macros.log
126 gettext2.log: gettext-macros.log
127 gettext3.log: gettext-macros.log
128 subcond.log: gettext-macros.log
130 EXTRA_DIST = ChangeLog-old gen-parallel-tests $(TESTS)
132 distcheck-missing-m4.log distcheck-outdated-m4.log: distcheck-hook-m4.am
133 EXTRA_DIST += distcheck-hook-m4.am
135 # Each test case depends on defs, aclocal, and automake.
136 check_SCRIPTS = defs aclocal-$(APIVERSION) automake-$(APIVERSION)
138 ## Checking the list of tests.
140 include $(srcdir)/CheckListOfTests.am
141 maintainer-check-list-of-tests: $(parallel_tests)
143 clean-local: clean-local-check
144 .PHONY: clean-local-check
146 -set x *.dir; shift; \
147 if test "$$#,$$1" = "1,*.dir"; then \
148 : there is no test directory to clean; \
150 find "$$@" -type d ! -perm -700 -exec chmod u+rwx {} ';'; \