dlang-community / harbored-mod

A documentation generator for D with support for both DDoc and Markdown.
Boost Software License 1.0
18 stars 14 forks source link

Enable testing on Windows #82

Closed wilzbach closed 7 years ago

wilzbach commented 7 years ago

Hmm this seems to be truly broken:

core.exception.AssertError@C:\dmd2\windows\bin\..\..\src\phobos\std\experimental\allocator\common.d(445): Assertion failure
----------------
0x00007FF648ADF74B in d_assertp
0x00007FF64894C8B3 in std.experimental.allocator.common.testAllocator!(function () => FallbackAllocator(HmodBlockAllocator(0LU, , 0LU, , 0LU, , 0LU, , 0LU, , null))).testAllocator at C:\dmd2\windows\bin\..\..\src\phobos\std\experimental\allocator\common.d(447)
0x00007FF648940AAD in std.experimental.allocator.building_blocks.fallback_allocator.FallbackAllocator!(allocator.HmodBlockAllocator`32768LU, std.experimental.allocator.gc_allocator.GCAllocator).FallbackAllocator.__unittestL27_3470 at C:\dmd2\windows\bin\..\..\src\phobos\std\experimental\allocator\building_blocks\fallback_allocator.d(29)
0x00007FF64896AC1D in void allocator.__modtest()
0x00007FF648B0701B in scope int core.runtime.runModuleUnitTests().__foreachbody1(scope object.ModuleInfo*)
0x00007FF648B05AB3 in scope int object.ModuleInfo.opApply(scope int delegate(object.ModuleInfo*)).__lambda2(immutable(object.ModuleInfo*))
0x00007FF648B1CDAF in scope int rt.minfo.moduleinfos_apply(scope int delegate(immutable(object.ModuleInfo*))).__foreachbody2(ref rt.sections_win64.SectionGroup)
0x00007FF648B1CD1F in int rt.minfo.moduleinfos_apply(scope int delegate(immutable(object.ModuleInfo*)))
0x00007FF648B05A87 in int object.ModuleInfo.opApply(scope int delegate(object.ModuleInfo*))
0x00007FF648B06F95 in runModuleUnitTests
0x00007FF648AECEDD in scope void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()
0x00007FF648AECE3F in scope void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())
0x00007FF648AECC3F in d_run_main
0x00007FF64893FB42 in __entrypoint.main
0x00007FF648B6FA9D in __scrt_common_main_seh at f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl(253)
0x00007FFFAB1A13D2 in BaseThreadInitThunk
0x00007FFFACC854E4 in RtlUserThreadStart
Program exited with code 1

I don't use Windows nor harbored-mod. Does anyone care about this? (feel free to pick up this PR)

ghost commented 7 years ago

At first glance this is https://github.com/dlang-community/harbored-mod/issues/65

wilzbach commented 7 years ago

At first glance this is #65

Yup most likely - we only run dub build for Travis as well. I have rebased this PR to do the same (just building). We should probably switch back to dub test once #65 is fixed.

wilzbach commented 7 years ago

We should probably switch back to dub test once #65 is fixed.

I opened an issue, s.t. it's not forgotten once this PR is merged:

https://github.com/dlang-community/harbored-mod/issues/83