mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-01-12 16:45:35 +00:00
* tests/scripts/features/double_colon: Test parallel double-colon rules
Original test proposed by Dmitry Goncharov <dgoncharov@users.sf.net>
This commit is contained in:
parent
5340a3d5d1
commit
0e06c75889
1 changed files with 10 additions and 1 deletions
|
@ -223,7 +223,16 @@ unrelated: hello.x
|
|||
!,
|
||||
'', "#MAKE#: *** No rule to make target 'hello.x', needed by 'hello.z'. Stop.\n", 512);
|
||||
|
||||
unlink('hello.z');
|
||||
# SV 64016.
|
||||
# Test that update_goal_chain moves to the next target while the current
|
||||
# target is being built: hello.x recipe is started and update_goal_chain
|
||||
# begins to update bye.x.
|
||||
|
||||
run_make_test(q!
|
||||
hello.x::; @#HELPER# -q wait bye.x out $@
|
||||
bye.x::; @#HELPER# sleep 1 file $@
|
||||
!,
|
||||
'-j2 hello.x bye.x', "sleep 1\nfile bye.x\nhello.x");
|
||||
|
||||
|
||||
# This tells the test driver that the perl test script executed properly.
|
||||
|
|
Loading…
Reference in a new issue