summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/native-touch.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/pymake/tests/native-touch.mk')
-rw-r--r--build/pymake/tests/native-touch.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/build/pymake/tests/native-touch.mk b/build/pymake/tests/native-touch.mk
new file mode 100644
index 000000000..811161ece
--- /dev/null
+++ b/build/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) $@