View mode: basic / threaded / horizontal-split · Log in · Help
August 24, 2012
Phobos unittest failure on single-core machines
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
August 24, 2012
Re: Phobos unittest failure on single-core machines
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?
August 24, 2012
Re: Phobos unittest failure on single-core machines
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
August 28, 2012
Re: Phobos unittest failure on single-core machines
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
Top | Discussion index | About this forum | D home