diff options
Diffstat (limited to 'python/pymake/tests/diamond-deps.mk')
-rw-r--r-- | python/pymake/tests/diamond-deps.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/python/pymake/tests/diamond-deps.mk b/python/pymake/tests/diamond-deps.mk new file mode 100644 index 000000000..40a4176d9 --- /dev/null +++ b/python/pymake/tests/diamond-deps.mk @@ -0,0 +1,13 @@ +# If the dependency graph includes a diamond dependency, we should only remake +# once! + +all: depA depB + cat testfile + test `cat testfile` = "data"; + @echo TEST-PASS + +depA: testfile +depB: testfile + +testfile: + printf "data" >>$@ |