summaryrefslogtreecommitdiff
path: root/python/pymake/tests/native-touch.mk
diff options
context:
space:
mode:
Diffstat (limited to 'python/pymake/tests/native-touch.mk')
-rw-r--r--python/pymake/tests/native-touch.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/python/pymake/tests/native-touch.mk b/python/pymake/tests/native-touch.mk
new file mode 100644
index 000000000..811161ece
--- /dev/null
+++ b/python/pymake/tests/native-touch.mk
@@ -0,0 +1,15 @@
+TOUCH ?= touch
+
+foo:
+ $(TOUCH) bar
+ $(TOUCH) baz
+ $(MAKE) -f $(TESTPATH)/native-touch.mk baz
+ $(TOUCH) -t 198007040802 baz
+ $(MAKE) -f $(TESTPATH)/native-touch.mk baz
+
+bar:
+ $(TOUCH) $@
+
+baz: bar
+ echo TEST-PASS
+ $(TOUCH) $@