2 # Copyright (C) 2012 Free Software Foundation, Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2, or (at your option)
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17 # Check interactions between the parallel test harness and "make -n".
18 # See also sister test 'parallel-tests-dry-run-2.test'.
22 echo AC_OUTPUT >> configure.ac
24 cat > Makefile.am <<'END'
25 TESTS = foo.test bar.test
35 # Avoid confusion with test logs.
38 log_files='test-suite.log foo.log bar.log'
44 test -f $i || { echo File $i not found; st=1; }
53 if test -r $i || test -f $i; then
61 for targ in check recheck $log_files; do
73 cat > foo.test <<'END'
78 cat > bar.test <<'END'
83 chmod a+x foo.test bar.test
87 for targ in recheck clean mostlyclean distclean; do