aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/unit-tests/directive-ifmake.exp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bmake/unit-tests/directive-ifmake.exp')
-rw-r--r--contrib/bmake/unit-tests/directive-ifmake.exp11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/bmake/unit-tests/directive-ifmake.exp b/contrib/bmake/unit-tests/directive-ifmake.exp
new file mode 100644
index 000000000000..fd4bcae151a0
--- /dev/null
+++ b/contrib/bmake/unit-tests/directive-ifmake.exp
@@ -0,0 +1,11 @@
+make: "directive-ifmake.mk" line 13: ok: positive condition works
+make: "directive-ifmake.mk" line 24: ok: negation works
+make: "directive-ifmake.mk" line 33: ok: double negation works
+make: "directive-ifmake.mk" line 40: ok: both mentioned
+make: "directive-ifmake.mk" line 47: ok: only those mentioned
+make: "directive-ifmake.mk" line 57: Targets can even be added at parse time.
+make: "directive-ifmake.mk" line 75: ok
+: first
+: second
+: late-target
+exit status 0