On Thu, Aug 13, 2020 at 08:30:44AM +, Jonathan via Digitalmars-d-learn
wrote:
[...]
> Is there a reason you need to run all unittests every time you want to
> run the program?
During development, this is a valuable time-saver: instead of compiling
twice, once with -unittest and once without,
On 8/13/20 5:02 AM, Nils Lankila wrote:
On Thursday, 13 August 2020 at 08:49:21 UTC, WebFreak001 wrote:
On Thursday, 13 August 2020 at 07:52:07 UTC, novice3 wrote:
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
On Thursday, 13 August 2020 at 09:02:28 UTC, Nils Lankila wrote:
programmatically, in a way it is already, but by calling
function
Better with compiler switch, may be...
On Thursday, 13 August 2020 at 08:49:21 UTC, WebFreak001 wrote:
On Thursday, 13 August 2020 at 07:52:07 UTC, novice3 wrote:
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 compil
On Thursday, 13 August 2020 at 08:30:44 UTC, Jonathan wrote:
Is there a reason you need to run all unittests every time you
want to run the program?
Starting app with unittests while develop - frequent event for me.
Releasing app - rare event for me.
I want do frequent action without efforts (j
On Thursday, 13 August 2020 at 08:49:21 UTC, WebFreak001 wrote:
Try
version (unittest) extern(C) __gshared string[] rt_options =
["testmode=run-main" ];
Thanks! It works as needed.
On Thursday, 13 August 2020 at 07:52:07 UTC, novice3 wrote:
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 beh
On Thursday, 13 August 2020 at 08:30:44 UTC, Jonathan wrote:
Is there a reason you need to run all unittests every time you
want to run the program?
App will be used by other peoples,
and i will release it after developing without unittests.
Release is rare action for me.
Running while developi
On Thursday, 13 August 2020 at 07:52:07 UTC, novice3 wrote:
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 beh
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-te
10 matches
Mail list logo