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/>.
24 pr8365-remake-timing.test \
25 yacc-dist-nobuild-subdir.test \
28 include $(srcdir)/parallel-tests.am
30 $(srcdir)/parallel-tests.am: gen-parallel-tests Makefile.am
31 (cd $(srcdir) && $(SHELL) ./gen-parallel-tests) >$@
33 $(parallel_tests): $(parallel_tests:-p.test=.test) Makefile.am
34 input=`echo $@ | sed 's,.*/,,; s,-p.test$$,.test,'`; \
35 sed 's|^\. \./defs.*|parallel_tests=yes; &|' \
36 < $(srcdir)/$$input >$@
39 MAINTAINERCLEANFILES = $(parallel_tests)
41 # Some testsuite-influential variables should be overridable from the
42 # test scripts, but not from the environment.
44 test x"$$me" = x || unset me; \
45 test x"$$required" = x || unset required; \
46 test x"$$parallel_tests" = x || unset parallel_tests;
49 self-check-env-sanitize.test \
50 self-check-report.test \
109 autodist-subdir.test \
110 autodist-acconfig.test \
111 autodist-acconfig-no-subdir.test \
112 autodist-aclocal-m4.test \
113 autodist-config-headers.test \
114 autodist-configure-no-subdir.test \
115 autodist-stamp-vti.test \
155 check-exported-srcdir.test \
156 check-tests-in-builddir.test \
157 check-tests_environment.test \
183 comments-in-var-def.test \
186 compile_f90_c_cxx.test \
187 compile_f_c_cxx.test \
304 dist-included-parent-dir.test \
305 distcleancheck.test \
379 hdr-vars-defined-once.test \
390 help-maintainer.test \
416 instdir-python.test \
422 instfail-libtool.test \
428 instmany-python.test \
445 lex-subobj-nodep.test \
507 maintclean-vpath.test \
540 nobase-libtool.test \
581 parallel-tests.test \
582 parallel-tests2.test \
583 parallel-tests3.test \
584 parallel-tests4.test \
585 parallel-tests5.test \
586 parallel-tests6.test \
587 parallel-tests7.test \
588 parallel-tests8.test \
589 parallel-tests9.test \
590 parallel-tests10.test \
591 parallel-tests-unreadable-log.test \
592 parallel-tests-subdir.test \
657 remake-subdir-from-subdir.test \
658 remake-subdir-gnu.test \
660 remake-subdir2.test \
661 pr8365-remake-timing.test \
680 silent-many-gcc.test \
681 silent-many-generic.test \
682 silent-lex-gcc.test \
683 silent-lex-generic.test \
684 silent-yacc-gcc.test \
685 silent-yacc-generic.test \
720 subdirbuiltsources.test \
847 yacc-dist-nobuild-subdir.test \
852 EXTRA_DIST = ChangeLog-old gen-parallel-tests $(TESTS)
854 # Each test case depends on defs, aclocal, and automake.
855 check_SCRIPTS = defs aclocal-$(APIVERSION) automake-$(APIVERSION)
857 clean-local: clean-local-check
858 .PHONY: clean-local-check
860 -set x *.dir; shift; \
861 if test "$$#,$$1" = "1,*.dir"; then \
862 : there is no test directory to clean; \
864 find "$$@" -type d ! -perm -700 -exec chmod u+rwx {} ';'; \