dmd
dmd copied to clipboard
Introduce a parameter to -unittest that lets you filter out unittests…
… from modules that aren't listed explicitly on the command line.
For example -i foo.d should only run unittests from foo but not anything foo imports and thus compiles because of -i
Thanks for your pull request, @maxhaton!
Bugzilla references
Your PR doesn't reference any Bugzilla issue.
If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.
Testing this PR locally
If you don't have a local development environment setup, you can use Digger to test this PR:
dub run digger -- build "master + dmd#15796"
Haven't thought about testing this yet.
UDAs are a sketch I couldn't be bothered to finish implementing.
@atilaneves @adamdruppe @deadalnix quick sketch to prove you can do it. May be intractable for some subtle reason.
Errors in globals.d
@maxhaton what's your plan with this PR? Maybe add some tests first?