Open tom-tan opened 8 years ago
will check it
I found a workaround for this issue.
When I add the following code into foo/bar.d
, dub
can generate __test_library__
and the test finishes correctly.
version(D_Coverage)
{
version(unittest)
{
extern(C) int UIAppMain(string[] args) {
return 0;
}
}
}
I reproduce it with dlangui 0.8.30 on Linux 64bit system.
Here is the commands to reproduce it. These commands initialize a new project with dlangui, make a submodule
foo/bar
, and addimport dlangui;
tofoo/bar.d
.Expected:
dub
generates a binary and the test succesfully finishes.Actual: It fails generating
__test__library__
. Here is the outputs:On windows systems, it seems to work.