summaryrefslogtreecommitdiff
path: root/tests/scripts/functions
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-11-17 07:33:47 +0000
committerPaul Smith <psmith@gnu.org>1999-11-17 07:33:47 +0000
commitebb733c0f9ab045b6fd6245df2baf2e87463e1bc (patch)
treebf5d793b4cc99724673804160f2e5e73889da8cc /tests/scripts/functions
parent3e26bde6dbc9a8a46d5a1a694e6810e689cbd25a (diff)
downloadgunmake-ebb733c0f9ab045b6fd6245df2baf2e87463e1bc.tar.gz
* Many cleanups and bugfixes.
* New handling of += in target-specific variables.
Diffstat (limited to 'tests/scripts/functions')
-rw-r--r--tests/scripts/functions/if6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/scripts/functions/if b/tests/scripts/functions/if
index cb1f5fc..fa2d0df 100644
--- a/tests/scripts/functions/if
+++ b/tests/scripts/functions/if
@@ -18,14 +18,14 @@ all:
\t\@echo \$(if ,\$(shell echo hi),false)
\t\@echo \$(if \$(call NEQ,a,b),true,false)
\t\@echo \$(if \$(call NEQ,a,a),true,false)
-\t\@echo \$(if z,true,fal,se)
-\t\@echo \$(if ,true,fal,se)
+\t\@echo \$(if z,true,fal,se) hi
+\t\@echo \$(if ,true,fal,se)there
EOMAKE
close(MAKEFILE);
&run_make_with_options($makefile, "", &get_logfile);
-$answer = "false\n\n\ntrue\ntrue\nfalse\ntrue\nfalse\ntrue\nfal,se\n";
+$answer = "false\n\n\ntrue\ntrue\nfalse\ntrue\nfalse\ntrue hi\nfal,sethere\n";
&compare_output($answer, &get_logfile(1));
1;