Finding the file and unittest that triggers an ICE during dub project build only when unittests are enabled

MoonlightSentinel moonlightsentinel at disroot.org
Fri Jun 12 21:29:06 UTC 2020


On Friday, 12 June 2020 at 18:18:25 UTC, Per Nordlöw wrote:
> How do I most easily track down which unittest in which file 
> that causes the crash?

You could try to reduce your code using Dustmite through dub.  
This should do the job IIRC:

  dub dustmite --compiler=dmd --build=unittest 
--compiler-status=139

See `dub dustmite --help` for more details.


More information about the Digitalmars-d-learn mailing list