2 # Copyright (C) 2011-2017 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 <https://www.gnu.org/licenses/>.
18 # - non-existent scripts listed in TESTS get diagnosed, even when
19 # all the $(TEST_LOGS) have a dummy dependency.
20 # See also related test 'test-missing.sh'.
24 cat >> configure.ac
<< 'END'
28 cat > Makefile.am
<< 'END'
29 TESTS
= foobar1.
test foobar2.
test
39 $MAKE foobar1.log foobar2.log ||
exit 99
40 test ! -e foobar1.log ||
exit 99
41 test ! -e foobar1.trs ||
exit 99
42 test ! -e foobar2.log ||
exit 99
43 test ! -e foobar2.trs ||
exit 99
45 run_make
-e FAIL
-M check
46 grep 'test-suite\.log.*foobar1\.log' output
47 grep 'test-suite\.log.*foobar1\.trs' output
48 grep 'test-suite\.log.*foobar2\.log' output
49 grep 'test-suite\.log.*foobar2\.trs' output
50 test ! -e test-suite.log