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 depcomp4.log: libtool-macros.log
67 depcomp7.log: libtool-macros.log
68 depcomp8b.log: libtool-macros.log
69 extradep2.log: libtool-macros.log
70 fort5.log: libtool-macros.log
71 instdir-ltlib.log: libtool-macros.log
72 instfail-libtool.log: libtool-macros.log
73 ldadd.log: libtool-macros.log
74 ldflags.log: libtool-macros.log
75 libobj13.log: libtool-macros.log
76 libtoo10.log: libtool-macros.log
77 libtoo11.log: libtool-macros.log
78 libtool.log: libtool-macros.log
79 libtool2.log: libtool-macros.log
80 libtool3.log: libtool-macros.log
81 libtool5.log: libtool-macros.log
82 libtool6.log: libtool-macros.log
83 libtool7.log: libtool-macros.log
84 libtool8.log: libtool-macros.log
85 libtool9.log: libtool-macros.log
86 listval.log: libtool-macros.log
87 ltcond.log: libtool-macros.log
88 ltcond2.log: libtool-macros.log
89 ltconv.log: libtool-macros.log
90 ltdeps.log: libtool-macros.log
91 ltinit.log: libtool-macros.log
92 ltinstloc.log: libtool-macros.log
93 ltlibobjs.log: libtool-macros.log
94 ltlibsrc.log: libtool-macros.log
95 ltorder.log: libtool-macros.log
96 nobase-libtool.log: libtool-macros.log
97 pr211.log: libtool-macros.log
98 pr300-ltlib.log: libtool-macros.log
99 pr307.log: libtool-macros.log
100 pr401b.log: libtool-macros.log
101 pr72.log: libtool-macros.log
102 reqd2.log: libtool-macros.log
103 silent3.log: libtool-macros.log
104 silent4.log: libtool-macros.log
105 silent9.log: libtool-macros.log
106 stdlib2.log: libtool-macros.log
107 strip3.log: libtool-macros.log
108 subobj9.log: libtool-macros.log
109 suffix10.log: libtool-macros.log
110 suffix2.log: libtool-macros.log
111 suffix5.log: libtool-macros.log
112 suffix8.log: libtool-macros.log
113 vala.log: libtool-macros.log
114 vala1.log: libtool-macros.log
115 vala2.log: libtool-macros.log
116 vala3.log: libtool-macros.log
117 vala4.log: libtool-macros.log
118 vala5.log: libtool-macros.log
120 # FIXME: make these automatically computed once we are merged into
121 # FIXME: the `testsuite-work' branch.
122 gettext.log: gettext-macros.log
123 gettext2.log: gettext-macros.log
124 gettext3.log: gettext-macros.log
125 subcond.log: gettext-macros.log
127 EXTRA_DIST = ChangeLog-old gen-parallel-tests $(TESTS)
129 distcheck-missing-m4.log distcheck-outdated-m4.log: distcheck-hook-m4.am
130 EXTRA_DIST += distcheck-hook-m4.am
132 # Each test case depends on defs, aclocal, and automake.
133 check_SCRIPTS = defs aclocal-$(APIVERSION) automake-$(APIVERSION)
135 ## Checking the list of tests.
137 include $(srcdir)/CheckListOfTests.am
138 maintainer-check-list-of-tests: $(parallel_tests)
140 clean-local: clean-local-check
141 .PHONY: clean-local-check
143 -set x *.dir; shift; \
144 if test "$$#,$$1" = "1,*.dir"; then \
145 : there is no test directory to clean; \
147 find "$$@" -type d ! -perm -700 -exec chmod u+rwx {} ';'; \