[SV #37878] Add a check for targets with parens that are not archives.

This commit is contained in:
Paul Smith 2013-01-13 12:40:13 -05:00
parent 686a74bfb2
commit 6ca41d9b17
2 changed files with 11 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2013-01-13 Paul Smith <psmith@gnu.org>
* scripts/features/archives: Add a check targets that have parens,
but are not archives. See Savannah bug #37878.
* scripts/options/dash-n: Verify -n is preserved after recursive /
re-exec. See Savannah bug #38051.

View file

@ -43,5 +43,13 @@ run_make_test('all: libxx.a( a3.o *.o )', '',
rmfiles(qw(a1.o a2.o a3.o libxx.a));
# Check non-archive targets
# See Savannah bug #37878
run_make_test(q!
all: foo(bar).baz
foo(bar).baz: ; @echo '$@'
!,
'', "foo(bar).baz\n");
# This tells the test driver that the perl test script executed properly.
1;