You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was playing around with GNATcoverage and noticed it couldn't ever find a project when running any of the actions on a project that had a hyphen in the filename. The resulting error message was always:
/usr/local/bin/gnatcov: project ../parent-child.gpr not found.
A typical pattern I follow when unit testing my libraries is to create a separate project file that extends the library (e.g. parent-tests.gpr) and then within the project file you can have project Parent.Tests extends.... This is supported by gprbuild, gnattest, gnatprove, etc.
However, I tried to integrate gnatcov and it didn't work. I updated the name of the project to parent_tests.gpr and then project Parent_Tests extends... and it did work.
I think this is a bug and it has to do with finding a project that has a hyphen in its filename.
The text was updated successfully, but these errors were encountered:
I was playing around with GNATcoverage and noticed it couldn't ever find a project when running any of the actions on a project that had a hyphen in the filename. The resulting error message was always:
/usr/local/bin/gnatcov: project ../parent-child.gpr not found
.A typical pattern I follow when unit testing my libraries is to create a separate project file that extends the library (e.g.
parent-tests.gpr
) and then within the project file you can haveproject Parent.Tests extends...
. This is supported bygprbuild
,gnattest
,gnatprove
, etc.However, I tried to integrate
gnatcov
and it didn't work. I updated the name of the project toparent_tests.gpr
and thenproject Parent_Tests extends...
and it did work.I think this is a bug and it has to do with finding a project that has a hyphen in its filename.
The text was updated successfully, but these errors were encountered: