[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch: FYI: `+=' test
From: |
Tom Tromey |
Subject: |
Patch: FYI: `+=' test |
Date: |
20 Oct 2001 13:29:35 -0600 |
I'm checking this in.
I found this while working on a different project.
It seems like a bug to me; at least, I found it surprising.
Tom
Index: ChangeLog
from Tom Tromey <address@hidden>
* tests/Makefile.am (TESTS): Added condd.test.
(XFAIL_TESTS): Added condd.test.
* tests/condd.test: New file.
Index: tests/Makefile.am
===================================================================
RCS file: /cvs/automake/automake/tests/Makefile.am,v
retrieving revision 1.346
diff -u -r1.346 Makefile.am
--- tests/Makefile.am 2001/10/17 17:20:50 1.346
+++ tests/Makefile.am 2001/10/20 19:11:47
@@ -1,6 +1,6 @@
## Process this file with automake to create Makefile.in
-XFAIL_TESTS = subdir5.test auxdir2.test cond17.test nobase.test
+XFAIL_TESTS = condd.test subdir5.test auxdir2.test cond17.test nobase.test
TESTS = \
acinclude.test \
@@ -74,6 +74,7 @@
cond18.test \
cond19.test \
cond20.test \
+condd.test \
condincl.test \
condincl2.test \
condlib.test \
Index: tests/Makefile.in
===================================================================
RCS file: /cvs/automake/automake/tests/Makefile.in,v
retrieving revision 1.451
diff -u -r1.451 Makefile.in
--- tests/Makefile.in 2001/10/19 17:07:03 1.451
+++ tests/Makefile.in 2001/10/20 19:11:47
@@ -72,7 +72,7 @@
am__quote = @am__quote@
install_sh = @install_sh@
-XFAIL_TESTS = subdir5.test auxdir2.test cond17.test nobase.test
+XFAIL_TESTS = condd.test subdir5.test auxdir2.test cond17.test nobase.test
TESTS = \
acinclude.test \
@@ -146,6 +146,7 @@
cond18.test \
cond19.test \
cond20.test \
+condd.test \
condincl.test \
condincl2.test \
condlib.test \
Index: tests/condd.test
===================================================================
RCS file: condd.test
diff -N condd.test
--- /dev/null Tue May 5 13:32:27 1998
+++ tests/condd.test Sat Oct 20 12:11:47 2001
@@ -0,0 +1,19 @@
+#! /bin/sh
+
+# Test for bug in conditionals.
+
+. $srcdir/defs || exit 1
+
+cat >> configure.in << 'END'
+AM_CONDITIONAL(COND1, true)
+END
+
+cat > Makefile.am << 'END'
+SUBDIRS = foo
+if COND1
+SUBDIRS += bar
+endif
+END
+
+$ACLOCAL || exit 1
+$AUTOMAKE
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Patch: FYI: `+=' test,
Tom Tromey <=