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:

  <https://savannah.gnu.org/bugs/?64016>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to