bug-make
[Top][All Lists]
Advanced

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

[bug #63071] Race condition in .WAIT tests.


From: Dmitry Goncharov
Subject: [bug #63071] Race condition in .WAIT tests.
Date: Fri, 16 Sep 2022 21:33:10 -0400 (EDT)

Follow-up Comment #1, bug #63071 (project make):

Test 11 of targets/WAIT fails due to a race.

++++
$ cat tests/work/targets/WAIT.diff.11
*** work/targets/WAIT.base.11   Wed Sep 14 18:37:08 2022
--- work/targets/WAIT.log.11    Wed Sep 14 18:37:08 2022
***************
*** 1,5 ****
- start-pre1
  pre2
  end-pre1
  start-npre1
  end-npre1
--- 1,5 ----
  pre2
+ start-pre1
  end-pre1
  start-npre1
  end-npre1
----

This happens, because the test does not impose any orderdering between pre1
and pre2.


Test 7 fails similarly
++++
$ cat tests/work/targets/WAIT.diff.7
*** work/targets/WAIT.base.7    Fri Sep 16 18:53:12 2022
--- work/targets/WAIT.log.7     Fri Sep 16 18:53:12 2022
***************
*** 1,3 ****
- start-pre1
  pre2
  end-pre1
--- 1,3 ----
  pre2
+ start-pre1
  end-pre1
----


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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