summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-01-13 12:40:13 -0500
committerPaul Smith <psmith@gnu.org>2013-01-13 12:40:13 -0500
commit6ca41d9b17d8d3a1338acf1804d13a340ff644ac (patch)
tree3cb14b8d187cad878db31cf6ff4339087cf0a460 /tests
parent686a74bfb2a624d6e85b6343f30815c976931704 (diff)
downloadgunmake-6ca41d9b17d8d3a1338acf1804d13a340ff644ac.tar.gz
[SV #37878] Add a check for targets with parens that are not archives.
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog3
-rw-r--r--tests/scripts/features/archives8
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 708f482..e7c9c83 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -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.
diff --git a/tests/scripts/features/archives b/tests/scripts/features/archives
index af4fa39..41ac26d 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;