bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] [bug #42960] GSL testsuite fails when GNU make called with -jX


From: Patrick Alken
Subject: [Bug-gsl] [bug #42960] GSL testsuite fails when GNU make called with -jX where X > 1
Date: Mon, 18 Aug 2014 21:45:40 +0000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Firefox/31.0

Follow-up Comment #1, bug #42960 (project gsl):

The problem is a file race condition in the fwrite/fread and fwrite/fscanf
tests. These routines write a file called "test.dat" and "test.txt"
respectively, and the -j2 will cause 'test' and 'test_static' to read/write
the same files at the same time.

The fix is to convert this to use mkstemp instead of fixed filenames.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42960>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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