Feature #43122
open
ceph.spec: add flags for ctest run
Added by Ernesto Puerta over 4 years ago.
Updated over 4 years ago.
Description
Currently there's no way to filter in/out during %check rpmbuild
stage. As some tests might require conditions (e.g.: sudo access, device permissions, etc.) that no all building environments meet, it'd be desirable to provide a white-list/black-list for those.
Ctest allows for extensive customization of which tests are included/excluded of any run (based on test names and labels/tags regex matching).
- Tracker changed from Cleanup to Feature
It sure would be nice to have the RPM build run a subset of "make check" - i.e. the subset consisting of tests that behave nicely (don't eat lots of RAM, complete within a few seconds, don't require network connection, etc.). Right now it's "all or nothing", which - for practical purposes - means "nothing".
Nathan Cutler wrote:
It sure would be nice to have the RPM build run a subset of "make check" - i.e. the subset consisting of tests that behave nicely (don't eat lots of RAM, complete within a few seconds, don't require network connection, etc.). Right now it's "all or nothing", which - for practical purposes - means "nothing".
Willem started this PR (https://github.com/ceph/ceph/pull/29844) to start labeling ctests a while ago, but it's at risk of staling.
Also available in: Atom
PDF