[D-runtime] D runtime initialization from C fails on OSX

Jacob Carlborg doob at me.com
Fri May 25 00:00:50 PDT 2012



On May 24, 2012, at 12:20 AM, Walter Bright <walter at digitalmars.com> wrote:

> I replied on the github page too:
>
> The exit status of the program must be non-zero. It was zero. Sorry for not
> making that clear earlier. I tested it on OSX.
 
I've made some modifications to the previous code and your test behaves as expected now. All unit tests in Phobos pass. Although I want to double check, is it ok that the unit tests are not run when just calling "rt_init", i.e. starting the runtime from a C application? The unit tests are still run as normal when starting from a D application.

BTW is this test case part of some test suite that is publicly available? If not, I think it should be added.

https://github.com/jacob-carlborg/druntime/commit/ad5fca3000c6e25e9c7f35fddf93776322462d66

--
/Jacob Carlborg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d-runtime/attachments/20120525/be03ccff/attachment.html>


More information about the D-runtime mailing list