mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-01-26 09:13:10 +00:00
* tests/scripts/features/include [AIX]: Set explicit timestamps
This commit is contained in:
parent
549fc56102
commit
4436655568
1 changed files with 5 additions and 3 deletions
|
@ -476,14 +476,16 @@ all: ;
|
|||
# Test that included makefiles are not intermediate.
|
||||
# Here 'test.foo' is mentioned explicitly and cannot be considered
|
||||
# intermediate.
|
||||
&touch('test.foo', 'test.x', 'test');
|
||||
utouch(-10, 'test.foo');
|
||||
utouch(-5, 'test.x');
|
||||
touch('test');
|
||||
run_make_test(q!
|
||||
.PHONY: force
|
||||
include test.foo
|
||||
%.foo: force; touch -a $@
|
||||
%.foo: force; @echo force $@
|
||||
%.x: %.foo; touch $@
|
||||
test: test.x; touch $@
|
||||
!, '', "touch -a test.foo\n#MAKE#: 'test' is up to date.\n");
|
||||
!, '', "force test.foo\n#MAKE#: 'test' is up to date.\n");
|
||||
|
||||
unlink('test.foo', 'test.x', 'test');
|
||||
|
||||
|
|
Loading…
Reference in a new issue