On Saturday, 14 June 2014 at 14:32:10 UTC, Xavier Bigand wrote:
I get a failure on a test in format.d when I build my own
project with unittest. I though importing phobos header would
not regenerate their unittest modules.
Any idea of what can cause this issue? I already have
reinstalled dmd with visualD completely.
Quite likely that you use rdmd. It compiles dependencies with
same flags as main target so if you do `rdmd -unittest app.d` all
modules app imports will be compiled with `-unittest` as well.
Using custom build process can fix it.