[phobos] unittest failure on wine
Lars Tandle Kyllingstad
lars at kyllingen.net
Thu Sep 16 14:14:55 PDT 2010
I am not seeing that error.
Also, I wrote the code that throws that exception, namely
std.process.environment.opIndex(), and I have absolutely no clue how it
can be thrown. environment is rather new, and the only place it's used
in Phobos right now is in its own unittest...
The only way I can see this happening is if you do
auto x = environment["DESKTOP_STARTUP_ID"];
or something similar. Grepping both Phobos and druntime for
DESKTOP_STARTUP_ID turns up nothing, and like I said, environment isn't
used anywhere either.
Does commenting out the std.process.environment unittests help?
-Lars
On Thu, 2010-09-16 at 13:32 -0500, Andrei Alexandrescu wrote:
> I ran this on Linux:
>
> make OS=win32wine -f posix.mak
>
> Testing generated/win32wine/debug/unittest/std/socket.exe
> object.Exception at std\process.d(538): Environment variable not found:
> DESKTOP_STARTUP_ID
>
> Could someone look into the problem?
>
>
> Andrei
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
More information about the phobos
mailing list