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: avoid unnecessary skip in case of different expected test type #5799

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

grom72
Copy link
Contributor

@grom72 grom72 commented Jul 14, 2023

configure_valgrind and require_valgrind shall be used after require_test_type and require_fs_type to avoid SKIPs with message due to unsupported/unselected Valgrind configuration.

In case of require_test_type and require_fs_type the SKIP is executed but without message added to a test log.


This change is Reviewable

configure_valgrind and require_valgrind shall be used after
require_test_type and require_fs_type to avoid SKIPs with message
due to unsupported/unselected Valgrind configuration.

In case of require_test_type and require_fs_type the SKIP is executed but
without message added to a test log.

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
@grom72 grom72 added QA: CI .github/ and utils/ related to automated testing sprint goal This pull request is part of the ongoing sprint labels Jul 14, 2023
@grom72 grom72 requested review from janekmi and osalyk July 14, 2023 07:34
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 15 of 15 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @janekmi)

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 15 of 15 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @grom72)


src/test/obj_pmalloc_mt/TEST0 line 13 at r1 (raw file):


require_fs_type pmem non-pmem
require_test_type long

I would see these two lines in the opposite order. But I am open to arguments. Just a personal preference I guess.

Suggestion:

require_test_type long
require_fs_type pmem non-pmem

@janekmi janekmi merged commit c9ce433 into pmem:master Jul 14, 2023
16 checks passed
@grom72 grom72 deleted the test-type-check-first branch October 24, 2023 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QA: CI .github/ and utils/ related to automated testing sprint goal This pull request is part of the ongoing sprint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants