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/>.
27 include $(srcdir)/parallel-tests.am
29 $(srcdir)/parallel-tests.am: gen-parallel-tests Makefile.am
30 (cd $(srcdir) && $(SHELL) ./gen-parallel-tests) >$@
32 $(parallel_tests): $(parallel_tests:-p.test=.test) Makefile.am
33 input=`echo $@ | sed 's,.*/,,; s,-p.test$$,.test,'`; \
34 sed 's,^\. \./defs,. ./defs-p,' < $(srcdir)/$$input > $@
37 MAINTAINERCLEANFILES = $(parallel_tests)
39 defs-p: defs Makefile.am
40 sed 's,^AM_INIT_AUTOMAKE$$,&([parallel-tests]),' < defs >$@
163 compile_f90_c_cxx.test \
164 compile_f_c_cxx.test \
273 distcleancheck.test \
364 instdir-python.test \
370 instfail-libtool.test \
376 instmany-python.test \
480 nobase-libtool.test \
521 parallel-tests.test \
522 parallel-tests2.test \
523 parallel-tests3.test \
524 parallel-tests4.test \
525 parallel-tests5.test \
526 parallel-tests6.test \
527 parallel-tests7.test \
528 parallel-tests8.test \
529 parallel-tests9.test \
530 parallel-tests10.test \
641 subdirbuiltsources.test \
763 EXTRA_DIST = ChangeLog-old gen-parallel-tests $(TESTS)
765 # Each test case depends on defs, aclocal, and automake.
766 check_SCRIPTS = defs defs-p aclocal-$(APIVERSION) automake-$(APIVERSION)
768 clean-local: clean-local-check
769 .PHONY: clean-local-check
771 -set x *.dir; shift; \
772 if test "$$#,$$1" = "1,*.dir"; then \
773 : there is no test directory to clean; \
775 find "$$@" -type d '!' -perm -200 -exec chmod u+w {} ';'; \