aboutsummaryrefslogtreecommitdiff
path: root/testsuite/make.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/make.tests')
-rwxr-xr-xtestsuite/make.tests14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/make.tests b/testsuite/make.tests
index 5119a77d3..ba3855973 100755
--- a/testsuite/make.tests
+++ b/testsuite/make.tests
@@ -553,6 +553,20 @@ src.o: src.c src.h
553' 553'
554cd .. || exit 1; rm -rf make.tempdir 2>/dev/null 554cd .. || exit 1; rm -rf make.tempdir 2>/dev/null
555 555
556# ifeq/ifneq conditionals are supported
557testing 'make support ifeq and ifneq conditionals' \
558 "make -f -" "A OK\nB OK\n" "" '
559A = a
560B = b
561target:
562ifeq ($(A),a)
563 @echo A OK
564endif
565ifneq "a" "$B"
566 @echo B OK
567endif
568'
569
556# An empty original suffix indicates that every word should have 570# An empty original suffix indicates that every word should have
557# the new suffix added. If neither suffix is provided the words 571# the new suffix added. If neither suffix is provided the words
558# remain unchanged. 572# remain unchanged.