The unittests are failing (individually)

Seb via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 25 05:47:33 PDT 2016


On Thursday, 25 August 2016 at 12:03:08 UTC, John Colvin wrote:
> Try this:
>
> git clone https://github.com/dlang/dmd
> cd dmd
> make -f posix.mak -j
> cd ..
>
> git clone https://github.com/dlang/druntime
> cd druntime
> make -f posix.mak -j
> cd ..
>
> git clone https://github.com/dlang/phobos
> cd phobos
> for fn in `find std -name \*.d`; do make -f posix.mak 
> "${fn%.d}.test" ; done
>
> Enjoy all those failing tests.
>
> What's going on here?!?
>
>
> P.S. here's the failing tests for me on OS X 
> (std.algorithm.sorting, std.encoding, std.file, std.net.curl, 
> std.process, std.zip)
>


As mentioned on your PR, that's a known issue/regression as 
phobosinit fails to register std.encoding for individual tests:

https://issues.dlang.org/show_bug.cgi?id=16291
https://github.com/dlang/phobos/pull/4493

Quite recently Steven fixed the cycle detection in druntime:

https://github.com/dlang/druntime/pull/1602

and a fix by Steven for Phobos is already in the queue:

https://github.com/dlang/phobos/pull/4744

For std.algorithm.sorting, it's a different issue (that's caused 
by a weird behavior in std.numeric entropy), but also known:

http://forum.dlang.org/post/nol5h2$lj$1@digitalmars.com
https://github.com/dlang/phobos/pull/4587
https://issues.dlang.org/show_bug.cgi?id=16227

Once fixed, we will enable all individual tests in our CircleCi 
setup to prevent more regressions.


More information about the Digitalmars-d mailing list