From 6ca41d9b17d8d3a1338acf1804d13a340ff644ac Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 13 Jan 2013 12:40:13 -0500 Subject: [PATCH] [SV #37878] Add a check for targets with parens that are not archives. --- tests/ChangeLog | 3 +++ tests/scripts/features/archives | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/tests/ChangeLog b/tests/ChangeLog index 708f482a..e7c9c833 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,5 +1,8 @@ 2013-01-13 Paul Smith + * 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. diff --git a/tests/scripts/features/archives b/tests/scripts/features/archives index af4fa39a..41ac26dc 100644 --- a/tests/scripts/features/archives +++ b/tests/scripts/features/archives @@ -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;