Project

General

Profile

Feature #43122

ceph.spec: add flags for ctest run

Added by Ernesto Puerta 7 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Category:
build
Target version:
% Done:

0%

Source:
Tags:
Backport:
nautilus
Reviewed:
Affected Versions:
Pull request ID:

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).

History

#1 Updated by Nathan Cutler 6 months ago

  • Tracker changed from Cleanup to Feature

#2 Updated by Nathan Cutler 6 months ago

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".

#3 Updated by Ernesto Puerta 6 months ago

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