DMD: how to restore old unittest+main

novice3 sorryno at em.ail
Thu Aug 13 07:52:07 UTC 2020


Hello.

I don't use dub.
I use Windows and *.d file association to compile small apps by 
dmd with "-i -unittest -g" switches.
Now i update dmd, and found, that apps compiled with "-unittest" 
not runs main().

How i can restore old behaviour (run all unittests then main())
*without use "--DRT-testmode=run-main" switch every time then i 
start compiled app.exe*?
I want just press Enter on app.d file, then press Enter on 
app.exe.
Any advises?

Thanks.


More information about the Digitalmars-d-learn mailing list