On Wednesday, 3 January 2018 at 17:43:36 UTC, Martin Nowak wrote:
Glad to announce D 2.078.0.

This release comes with runtime detection of Visual Studio installation paths, an integral promotion transition for unary operations on byte and short sized integers, more -betterC features, and a couple of language and library tweaks.

Thanks to everyone involved in this 👏 https://dlang.org/contributors.html.

http://downloads.dlang.org/releases/2.x/2.078.0/ http://dlang.org/changelog/2.078.0.html

- -Martin

What is the purpose of the coverage option "srcpath"?

In my scenario I have a folder "dependencies" and a folder "source". I want to generate
code coverage only for the files in folder "source".

dmd -unittest -cov source/app.d dependencies/dep.d
app.exe --DRT-covopt="srcpath:./source dstpath:./cov"

By specifying "srcpath" there are 2 empty files created in folder cov:

I thought by specifying "srcpath" I limit the code coverage generation to the files located in folder source...

Kind regards

Reply via email to