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 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/>.
30 include $(srcdir)/parallel-tests.am
32 $(srcdir)/parallel-tests.am: gen-parallel-tests Makefile.am
33 (cd $(srcdir) && $(SHELL) ./gen-parallel-tests) >$@
35 $(parallel_tests): $(parallel_tests:-p.test=.test) Makefile.am
36 input=`echo $@ | sed 's,.*/,,; s,-p.test$$,.test,'`; \
37 sed 's|^\. \./defs.*|parallel_tests=yes; &|' \
38 < $(srcdir)/$$input >$@
41 MAINTAINERCLEANFILES = $(parallel_tests)
165 compile_f90_c_cxx.test \
166 compile_f_c_cxx.test \
276 distcleancheck.test \
373 instdir-python.test \
379 instfail-libtool.test \
385 instmany-python.test \
491 nobase-libtool.test \
532 parallel-tests.test \
533 parallel-tests2.test \
534 parallel-tests3.test \
535 parallel-tests4.test \
536 parallel-tests5.test \
537 parallel-tests6.test \
538 parallel-tests7.test \
539 parallel-tests8.test \
540 parallel-tests9.test \
541 parallel-tests10.test \
658 subdirbuiltsources.test \
782 EXTRA_DIST = ChangeLog-old gen-parallel-tests $(TESTS)
784 # Each test case depends on defs, aclocal, and automake.
785 check_SCRIPTS = defs aclocal-$(APIVERSION) automake-$(APIVERSION)
787 clean-local: clean-local-check
788 .PHONY: clean-local-check
790 -set x *.dir; shift; \
791 if test "$$#,$$1" = "1,*.dir"; then \
792 : there is no test directory to clean; \
794 find "$$@" -type d '!' -perm -200 -exec chmod u+w {} ';'; \