Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to enable code coverage support when building RPMs #512

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

ArtiomDivak
Copy link
Contributor

@ArtiomDivak ArtiomDivak commented Aug 30, 2023

To enable building RPMs with code coverage support -Dwith_coverage=1
parameter can be passed to rpmbuild. Code coverage support is turned
off by default when building RPMs.

Related: #397
Signed-off-by: Artiom Divak adivak@redhat.com

@dougsland
Copy link
Contributor

LGTM but I am wondering who will enable such feature in rpm?

@dougsland
Copy link
Contributor

@ArtiomDivak in the description I see [WIP], is it still WIP? Looks good

bluechi.spec.in Outdated Show resolved Hide resolved
@ArtiomDivak ArtiomDivak force-pushed the issue-397 branch 3 times, most recently from e568111 to be40725 Compare September 3, 2023 07:39
README.developer.md Outdated Show resolved Hide resolved
bluechi.spec.in Outdated Show resolved Hide resolved
build-scripts/build-rpm.sh Outdated Show resolved Hide resolved
bluechi.spec.in Outdated Show resolved Hide resolved
bluechi.spec.in Outdated Show resolved Hide resolved
bluechi.spec.in Outdated Show resolved Hide resolved
build-scripts/build-rpm.sh Outdated Show resolved Hide resolved
@ArtiomDivak ArtiomDivak force-pushed the issue-397 branch 2 times, most recently from de5d4db to 88131e2 Compare September 11, 2023 09:20
Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also use more descriptive commit message, for example:

Add option to enable code coverage support when building RPMs

To enable building RPMs with code coverage support `-Dwith_coverage=1`
parameter can be passed to rpmbuild. Code coverage support is turned
off by default when building RPMs.

Related: https://github.com/containers/bluechi/issues/397
Signed-off-by: Artiom Divak <adivak@redhat.com>

bluechi.spec.in Show resolved Hide resolved
@ArtiomDivak ArtiomDivak force-pushed the issue-397 branch 2 times, most recently from 6a635c4 to 4e242ec Compare September 13, 2023 07:50
@ArtiomDivak ArtiomDivak force-pushed the issue-397 branch 2 times, most recently from a63201e to 68fd4bd Compare September 13, 2023 10:56
Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

test.txt Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file should not be part of the commit

Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, my mind is probably too tired today, so I gave you a bad advice. Please see my latest comments, they should be correct

bluechi.spec.in Show resolved Hide resolved
bluechi.spec.in Show resolved Hide resolved
@engelmi
Copy link
Member

engelmi commented Sep 14, 2023

Please fetch the latest changes from main to get the Integration tests to pass.

@ArtiomDivak ArtiomDivak force-pushed the issue-397 branch 4 times, most recently from d23c439 to e606eb7 Compare September 18, 2023 06:56
To enable building RPMs with code coverage support `-Dwith_coverage=1`
parameter can be passed to rpmbuild. Code coverage support is turned
off by default when building RPMs.

Related: eclipse-bluechi#397
Signed-off-by: Artiom Divak <adivak@redhat.com>
Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mwperina mwperina changed the title Adding with_coverage option Add option to enable code coverage support when building RPMs Sep 18, 2023
@mwperina mwperina merged commit 5c9cabe into eclipse-bluechi:main Sep 18, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants