When using the -profile flag is it known behaviour that phobos unit tests fail?

Gary Willoughby via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 24 10:50:19 PDT 2016


On Friday, 24 June 2016 at 17:36:49 UTC, Gary Willoughby wrote:
> When using the -profile flag is it known behaviour that phobos 
> unit tests fail?
>
> (Ubuntu 16.04 - DMD64 D Compiler v2.071.0)
>
> For example, when following these steps I get a failed unit 
> test:
>
> $ cd /usr/include/dmd/phobos/std/
> $ rdmd -I/usr/include/dmd/phobos/std 
> -I/usr/include/dmd/phobos/core -main -unittest -profile format.d
>
> Without the -profile flag it works.

You may need to add the --force option to rdmd.

$ rdmd --force -I/usr/include/dmd/phobos/std 
-I/usr/include/dmd/phobos/core -main -unittest -profile format.d


More information about the Digitalmars-d mailing list