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/>.
26 include $(srcdir)/parallel-tests.am
28 $(srcdir)/parallel-tests.am: gen-parallel-tests Makefile.am
29 $(AM_V_GEN)(cd $(srcdir) && $(SHELL) ./gen-parallel-tests) >$@
31 $(parallel_tests): Makefile.am
32 $(AM_V_at)rm -f $@ $@-t
33 $(AM_V_GEN)input=`echo $@ | sed 's,.*/,,; s,-p.test$$,.test,'`; \
35 echo '# DO NOT EDIT! GENERATED AUTOMATICALLY!'; \
36 echo 'parallel_tests=yes'; \
37 echo '. ./defs || Exit 1'; \
38 echo '# So that the sourced test can re-exec ./defs safely.'; \
39 echo 'cd "$$curdir" || Exit 1'; \
40 echo ". \"\$$testsrcdir/$$input\""; \
42 $(AM_V_at)chmod a+rx $@-t && mv -f $@-t $@
44 MAINTAINERCLEANFILES = $(parallel_tests)
170 compile_f90_c_cxx.test \
171 compile_f_c_cxx.test \
285 distcleancheck.test \
382 instdir-python.test \
388 instfail-libtool.test \
394 instmany-python.test \
500 nobase-libtool.test \
542 parallel-tests.test \
543 parallel-tests2.test \
544 parallel-tests3.test \
545 parallel-tests4.test \
546 parallel-tests5.test \
547 parallel-tests6.test \
548 parallel-tests7.test \
549 parallel-tests8.test \
550 parallel-tests9.test \
551 parallel-tests10.test \
669 subdirbuiltsources.test \
794 EXTRA_DIST = ChangeLog-old gen-parallel-tests $(TESTS)
796 # Each test case depends on defs, aclocal, and automake.
797 check_SCRIPTS = defs aclocal-$(APIVERSION) automake-$(APIVERSION)
799 clean-local: clean-local-check
800 .PHONY: clean-local-check
802 -set x *.dir; shift; \
803 if test "$$#,$$1" = "1,*.dir"; then \
804 : there is no test directory to clean; \
806 find "$$@" -type d '!' -perm -200 -exec chmod u+w {} ';'; \