mirror of
https://github.com/mirror/make.git
synced 2026-08-31 11:48:08 +08:00
Fix some Savannah bugs.
Updates to docs (still need more work here) and NEWS file. New language.
This commit is contained in:
@@ -97,4 +97,11 @@ $answer = "ONE.inc\nTHREE.inc\nTWO.inc\nONE\nTHREE\nTWO\nsuccess\n";
|
||||
|
||||
unlink('1.inc', '2.inc');
|
||||
|
||||
# Test shell functions within commands: make sure they're not reducing our
|
||||
# parallelism.
|
||||
|
||||
run_make_test('.PHONY: all
|
||||
all: ; @echo $(shell echo hi)
|
||||
','','hi');
|
||||
|
||||
1;
|
||||
|
||||
@@ -108,5 +108,18 @@ $answer = "$make_name: `final' is up to date.\n";
|
||||
|
||||
unlink('source', 'final', 'intermediate');
|
||||
|
||||
|
||||
# TEST #8 -- test the "global" .SECONDARY, with .PHONY.
|
||||
|
||||
touch('version2');
|
||||
run_make_test('
|
||||
.PHONY: version
|
||||
.SECONDARY:
|
||||
version2: version ; @echo GOOD
|
||||
all: version2',
|
||||
'all', 'GOOD');
|
||||
|
||||
unlink('version2');
|
||||
|
||||
# This tells the test driver that the perl test script executed properly.
|
||||
1;
|
||||
|
||||
Reference in New Issue
Block a user