Bug 16204 – When using the -profile flag phobos unit tests fail

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2016-06-25T07:51:00Z
Last change time
2016-12-27T13:52:28Z
Assigned to
nobody
Creator
dev

Comments

Comment #0 by dev — 2016-06-25T07:51:49Z
When using the -profile flag 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 --force -I/usr/include/dmd/phobos/std -I/usr/include/dmd/phobos/core -main -unittest -profile format.d Without the -profile flag it works. I only tried the format module, others may be affected.
Comment #1 by greeenify — 2016-12-27T13:52:28Z
There have been a couple of fixes in regards with the cycle detection of Phobos, so this might have been fixed during that. I just tried it on my machine & it worked fine. Please reopen if it's still an issue on your machine.