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

HRCPP-490 Added two new targets to get code coverage info #352

Merged
merged 1 commit into from May 20, 2019

Conversation

rigazilla
Copy link
Contributor

@rigazilla rigazilla commented Apr 11, 2019

This PR allows user to get code coverage of the test suite (ctest execution).
How to:

  1. Generate the require makefile target with
    mkdir build && cd build && cmake -DHOTROD_JBOSS_HOME=<ispn home> -DCMAKE_BUILD_TYPE=Debug -DCODE_COVERAGE= ..
  2. Build the wanted target:
    cmake --build . --target hotrod_coverage_html for html output
    cmake --build . --target hotrod_coverage_xml for xml output

Both the targets will run the test suite and collect coverage data. Work only for linux GCC

https://issues.jboss.org/browse/HRCPP-490

@rigazilla rigazilla changed the title HRCPP-490 Added two new target to get code coverage info HRCPP-490 Added two new targets to get code coverage info Apr 11, 2019
@rigazilla rigazilla requested a review from alanfx April 15, 2019 07:37
@rigazilla rigazilla changed the base branch from master to 8.3.x April 15, 2019 07:38
@rigazilla
Copy link
Contributor Author

@alanfx press merge, if you want code coverage report ;)

@alanfx
Copy link
Contributor

alanfx commented May 20, 2019

Looks awesome, @rigazilla! Merging!

@alanfx alanfx merged commit 2a6c2b2 into infinispan:8.3.x May 20, 2019
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.

None yet

2 participants