www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Phobos unittest failure on single-core machines

reply Ed McCardell <edmccard hotmail.com> writes:
When trying to run the phobos unittests on my 32- and 64-bit linux 
single-processor machines, I get this output:

   Testing generated/linux/debug/64/unittest/std/parallelism
   totalCPUs = 1
   core.exception.AssertError std.parallelism(4082): unittest failure

Has anyone else seen this, or is possible that I have an error in my dmd 
setup? (I'm using dmd/druntime/phobos from git HEAD, building in what I 
thought was the normal manner).

--Ed McCardell
Aug 23 2012
parent reply "dsimcha" <dsimcha yahoo.com> writes:
On Friday, 24 August 2012 at 02:16:24 UTC, Ed McCardell wrote:
 When trying to run the phobos unittests on my 32- and 64-bit 
 linux single-processor machines, I get this output:

   Testing generated/linux/debug/64/unittest/std/parallelism
   totalCPUs = 1
   core.exception.AssertError std.parallelism(4082): unittest 
 failure

 Has anyone else seen this, or is possible that I have an error 
 in my dmd setup? (I'm using dmd/druntime/phobos from git HEAD, 
 building in what I thought was the normal manner).

 --Ed McCardell

This looks to be a bug in a recently-added feature. I'll look at it in detail tonight, but I think I know what the problem is and it's pretty easy to fix. Can you please file a Bugzilla and note whether it always occurs or is non-deterministic?
Aug 24 2012
next sibling parent Ed McCardell <edmccard hotmail.com> writes:
On 08/24/12 12:27, dsimcha wrote:
 This looks to be a bug in a recently-added feature.  I'll look at it in
 detail tonight, but I think I know what the problem is and it's pretty
 easy to fix.  Can you please file a Bugzilla and note whether it always
 occurs or is non-deterministic?

Filed as http://d.puremagic.com/issues/show_bug.cgi?id=8582 --Ed
Aug 24 2012
prev sibling parent Ed McCardell <edmccard hotmail.com> writes:
On 08/24/12 12:27, dsimcha wrote:
 This looks to be a bug in a recently-added feature.  I'll look at it in
 detail tonight, but I think I know what the problem is and it's pretty
 easy to fix.

Thanks for the quick fix! Phobos unittests are building fine for me now. --Ed
Aug 27 2012