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 Free Software Foundation, Inc.
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2, or (at your option)
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
26 include $(srcdir)/parallel-tests.am
28 $(srcdir)/parallel-tests.am: gen-parallel-tests Makefile.am
29 (cd $(srcdir) && $(SHELL) ./gen-parallel-tests) >$@
31 $(parallel_tests): $(parallel_tests:-p.test=.test) Makefile.am
32 input=`echo $@ | sed 's,.*/,,; s,-p.test$$,.test,'`; \
33 sed 's|^\. \./defs.*|parallel_tests=yes; &|' \
34 < $(srcdir)/$$input >$@
37 MAINTAINERCLEANFILES = $(parallel_tests)
98 autodist-subdir.test \
99 autodist-acconfig.test \
100 autodist-acconfig-no-subdir.test \
101 autodist-aclocal-m4.test \
102 autodist-config-headers.test \
103 autodist-configure-no-subdir.test \
104 autodist-stamp-vti.test \
144 check-exported-srcdir.test \
145 check-tests-in-builddir.test \
146 check-tests_environment.test \
172 comments-in-var-def.test \
175 compile_f90_c_cxx.test \
176 compile_f_c_cxx.test \
291 distcleancheck.test \
375 help-maintainer.test \
403 instdir-python.test \
409 instfail-libtool.test \
415 instmany-python.test \
524 nobase-libtool.test \
565 parallel-tests.test \
566 parallel-tests2.test \
567 parallel-tests3.test \
568 parallel-tests4.test \
569 parallel-tests5.test \
570 parallel-tests6.test \
571 parallel-tests7.test \
572 parallel-tests8.test \
573 parallel-tests9.test \
574 parallel-tests10.test \
575 parallel-tests-unreadable-log.test \
576 parallel-tests-subdir.test \
659 silent-many-gcc.test \
660 silent-many-generic.test \
661 silent-lex-gcc.test \
662 silent-lex-generic.test \
663 silent-yacc-gcc.test \
664 silent-yacc-generic.test \
700 subdirbuiltsources.test \
831 EXTRA_DIST = ChangeLog-old gen-parallel-tests $(TESTS)
833 # Each test case depends on defs, aclocal, and automake.
834 check_SCRIPTS = defs aclocal-$(APIVERSION) automake-$(APIVERSION)
836 clean-local: clean-local-check
837 .PHONY: clean-local-check
839 -set x *.dir; shift; \
840 if test "$$#,$$1" = "1,*.dir"; then \
841 : there is no test directory to clean; \
843 find "$$@" -type d ! -perm -700 -exec chmod u+rwx {} ';'; \