[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64016] Simplify update_goal_chain.

From: Dmitry Goncharov
Subject: [bug #64016] Simplify update_goal_chain.
Date: Sun, 30 Apr 2023 21:18:19 -0400 (EDT)

Follow-up Comment #4, bug #64016 (project make):

[comment #2 comment #2:]
> I don't understand the test that was added though.  How does this test show
that both rules are run at the same time?  It seems like it would behave the
same even if they were not.

Indeed. My test was lacking necessary synchronization.

> Don't you mean something like this:

> 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 is a good test.
Thanks for review and for catching this, Paul.


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]