Issue 16204 - When using the -profile flag phobos unit tests fail
Summary: When using the -profile flag phobos unit tests fail
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: x86_64 Linux
: P1 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-25 07:51 UTC by Gary Willoughby
Modified: 2016-12-27 13:52 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Gary Willoughby 2016-06-25 07:51:49 UTC
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 Seb 2016-12-27 13:52:28 UTC
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.