summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2004-01-21 06:32:59 +0000
committerPaul Smith <psmith@gnu.org>2004-01-21 06:32:59 +0000
commit1f16ee5c2d482a75504fbbcf70e9e2a44acc1339 (patch)
treefce4f9c32c1345b44f5dcab09c3d8456cf230726 /tests
parent2b3ee46f4e4e73cb3d05921391e5cf64990483a7 (diff)
downloadgunmake-1f16ee5c2d482a75504fbbcf70e9e2a44acc1339.tar.gz
Many bug fixes etc.
- Apply a fix for the "thundering herd" problem when using "-j -l". This also fixes bug #4693. - Fix bug #7257: allow functions as ifdef arguments - Fix bug #4518: make sure we print all double-colon rules with -p. - Upgrade to autconf 2.58/automake 1.8/gettext 0.13.1 - Various doc cleanups, etc.
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog6
-rw-r--r--tests/scripts/features/conditionals11
2 files changed, 15 insertions, 2 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 76e725d..b20f46f 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,9 @@
+2004-01-21 Paul D. Smith <psmith@gnu.org>
+
+ * scripts/features/conditionals: Test arguments to ifn?def which
+ contain whitespace (such as a function that is evaluated). Bug
+ #7257.
+
2004-01-07 Paul D. Smith <psmith@gnu.org>
* scripts/features/order_only: Test order-only prerequisites in
diff --git a/tests/scripts/features/conditionals b/tests/scripts/features/conditionals
index 9aad1d1..36cba23 100644
--- a/tests/scripts/features/conditionals
+++ b/tests/scripts/features/conditionals
@@ -85,14 +85,21 @@ ifdef $(F)oo
DEF2 = yes
endif
-all:; @echo DEF=$(DEF) DEF2=$(DEF2)
+
+DEF3 = no
+FUNC = $1
+ifdef $(call FUNC,DEF)3
+ DEF3 = yes
+endif
+
+all:; @echo DEF=$(DEF) DEF2=$(DEF2) DEF3=$(DEF3)
EOF
close(MAKEFILE)
&run_make_with_options($makefile2,"",&get_logfile,0);
-$answer = "DEF=yes DEF2=yes\n";
+$answer = "DEF=yes DEF2=yes DEF3=yes\n";
&compare_output($answer,&get_logfile(1));