summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/serial-rule-execution2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/pymake/tests/serial-rule-execution2.mk')
-rw-r--r--build/pymake/tests/serial-rule-execution2.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/build/pymake/tests/serial-rule-execution2.mk b/build/pymake/tests/serial-rule-execution2.mk
new file mode 100644
index 000000000..252a7df83
--- /dev/null
+++ b/build/pymake/tests/serial-rule-execution2.mk
@@ -0,0 +1,13 @@
+#T returncode: 2
+
+# The dependencies of the command rule of a single-colon target are resolved before the rules without commands.
+
+all: export
+
+export:
+ sleep 1
+ touch somefile
+
+all: somefile
+ test -f somefile
+ @echo TEST-PASS