diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/scripts/features/include | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/scripts/features/include b/tests/scripts/features/include index 7f216434..76e365b9 100644 --- a/tests/scripts/features/include +++ b/tests/scripts/features/include @@ -472,4 +472,19 @@ all: ; '', "C:__foobar\n#MAKE#: 'all' is up to date."); } +# sv 63484. +# Test that included makefiles are not intermediate. +# Here 'test.foo' is mentioned explicitly and cannot be considered +# intermediate. +&touch('test.foo', 'test.x', 'test'); +run_make_test(q! +.PHONY: force +include test.foo +%.foo: force; touch -a $@ +%.x: %.foo; touch $@ +test: test.x; touch $@ +!, '', "touch -a test.foo\n#MAKE#: 'test' is up to date.\n"); + +unlink('test.foo', 'test.x', 'test'); + 1; |