summaryrefslogtreecommitdiff
path: root/unit-tests/directive-ifmake.exp
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/directive-ifmake.exp')
-rw-r--r--unit-tests/directive-ifmake.exp10
1 files changed, 10 insertions, 0 deletions
diff --git a/unit-tests/directive-ifmake.exp b/unit-tests/directive-ifmake.exp
new file mode 100644
index 0000000000000..5fefeb252b487
--- /dev/null
+++ b/unit-tests/directive-ifmake.exp
@@ -0,0 +1,10 @@
+make: "directive-ifmake.mk" line 8: ok: positive condition works
+make: "directive-ifmake.mk" line 19: ok: negation works
+make: "directive-ifmake.mk" line 25: ok: double negation works
+make: "directive-ifmake.mk" line 32: ok: both mentioned
+make: "directive-ifmake.mk" line 39: ok: only those mentioned
+make: "directive-ifmake.mk" line 49: Targets can even be added at parse time.
+: first
+: second
+: late-target
+exit status 0