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

test: ex_libpmem2/TEST6 should not be run under pmemcheck #5618

Conversation

ldorau
Copy link
Member

@ldorau ldorau commented May 5, 2023

ex_libpmem2/TEST6 would require two VALGRIND_SET_CLEAN() calls to be added to the "src/examples/libpmem2/ringbuf/ringbuf.c" example (see #5604) in order to pass under pmemcheck, but it seems that examples do not use valgrind macros on purpose (to avoid unnecessary complication), so this test just should not be run under pmemcheck.

Fixes: #5598


This change is Reviewable

@codecov
Copy link

codecov bot commented May 5, 2023

Codecov Report

Merging #5618 (f6feb07) into stable-1.13 (705eca0) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           stable-1.13    #5618      +/-   ##
===============================================
- Coverage        74.26%   74.25%   -0.01%     
===============================================
  Files              145      145              
  Lines            22131    22131              
  Branches          3704     3704              
===============================================
- Hits             16435    16433       -2     
- Misses            5696     5698       +2     

@ldorau
Copy link
Member Author

ldorau commented May 5, 2023

@janekmi @grom72 @osalyk

Copy link
Contributor

@janekmi janekmi left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ldorau)


src/test/ex_libpmem2/TESTS.py line 86 at r1 (raw file):

@t.windows_exclude
@t.require_valgrind_disabled('pmemcheck')

Please add the comment from the commit message here. It will be easier to follow exclusions this way.

ex_libpmem2/TEST6 would require two VALGRIND_SET_CLEAN() calls
to be added to the "src/examples/libpmem2/ringbuf/ringbuf.c"
example (see pmem#5604)
in order to pass under pmemcheck, but it seems that examples
do not use valgrind macros on purpose (to avoid unnecessary
complication), so this test just should not be run under pmemcheck.

Fixes: pmem#5598

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
@ldorau ldorau force-pushed the test-ex_libpmem2-TEST6-should-not-be-run-under-pmemcheck branch from b4979f1 to f6feb07 Compare May 5, 2023 11:36
@ldorau ldorau requested a review from janekmi May 5, 2023 11:37
Copy link
Member Author

@ldorau ldorau left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @janekmi)


src/test/ex_libpmem2/TESTS.py line 86 at r1 (raw file):

Previously, janekmi (Jan Michalski) wrote…

Please add the comment from the commit message here. It will be easier to follow exclusions this way.

Done.

Copy link
Contributor

@janekmi janekmi left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ldorau)

@janekmi janekmi added this to the 1.13 on GHA milestone May 5, 2023
Copy link
Contributor

@osalyk osalyk left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ldorau)

@janekmi janekmi merged commit 59281bb into pmem:stable-1.13 May 6, 2023
@ldorau ldorau deleted the test-ex_libpmem2-TEST6-should-not-be-run-under-pmemcheck branch May 8, 2023 08:36
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.

3 participants