bug-make
[Top][All Lists]
Advanced

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

make-3.82 testcases fail *sometimes*


From: Matthias Hopf
Subject: make-3.82 testcases fail *sometimes*
Date: Mon, 30 Aug 2010 19:52:48 +0200
User-agent: Mutt/1.5.17 (2007-11-01)

Make 3.82 has inherited some issues in from 3.81 in features/parallelism
- and added some new ones in features/double_colon, options/dash-l, and
targets/SECONDARY.

All except those in targets/SECONDARY (which I do not 100% understand
yet) are related to tests using sleep for parallelization tests -
something highly unreliable on systems with lots of processors and high
load.

That results in make not building reliable on our opensuse build system;
I'm currently using the attached patch to increase the sleep times by a
factor of four. A reasonable solution would probably use a configurable
factor, so you can run quicker tests on a local workstation.


Worse is the test targets/SECONDARY; on some(!) invocations some(!) of
the tests are swapping or even missing lines. This *could* indicate a
race, though I rather guess that this again is the result of one
processor being halted longer than anticipated.

I have seen two different issue so far, in test #9

*** 1,5 ****
  cp 1.a 1.b
  cp 2.a 2.b
- cp 1.b 1.c
  cp 2.b 2.c
  rm 1.b 2.b
--- 1,5 ----
  cp 1.a 1.b
  cp 2.a 2.b
  cp 2.b 2.c
+ cp 1.b 1.c
  rm 1.b 2.b

and in test #10

*** 1,6 ****
  touch test.1
  touch test.2
- touch test.3
  touch test.int
  touch test.4
  rm test.int


Matthias

-- 
Matthias Hopf <address@hidden>      __        __   __
Maxfeldstr. 5 / 90409 Nuernberg   (_   | |  (_   |__          address@hidden
Phone +49-911-74053-715           __)  |_|  __)  |__  R & D   www.mshopf.de



reply via email to

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