[SV #37878] Add a check for targets with parens that are not archives.
authorPaul Smith <psmith@gnu.org>
Sun, 13 Jan 2013 17:40:13 +0000 (12:40 -0500)
committerPaul Smith <psmith@gnu.org>
Sun, 13 Jan 2013 17:40:13 +0000 (12:40 -0500)
tests/ChangeLog
tests/scripts/features/archives

index 708f482..e7c9c83 100644 (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.
 
index af4fa39..41ac26d 100644 (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;