unittest "name" {}
ProtectAndHide
ProtectAndHide at gmail.com
Fri Feb 10 21:45:29 UTC 2023
On Friday, 10 February 2023 at 21:21:30 UTC, ProtectAndHide wrote:
>
>
> Also maybe a way to tell the compiler what unittest to run
> perhaps (i.e. passing in the name of the unittest (all
> unittests being the default).
>
> unittest : myQuicktest // dmd -unittest:myQuicktest
> {
>
> }
>
> unittest : myLongtest // dmd -unittest:myLongtest
> {
>
> }
better be consistent here as well:
dmd -unittest (as per current. runs all
unittests)
dmd -unittest=myQuicktest (runs only that named
unittest)
dmd -unittest=myQuicktest,myLongtest (runs these named
unittests only)
More information about the Digitalmars-d
mailing list