Project

General

Profile

Actions

Feature #43122

open

ceph.spec: add flags for ctest run

Added by Ernesto Puerta over 4 years ago. Updated over 4 years 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).

Actions #1

Updated by Nathan Cutler over 4 years ago

  • Tracker changed from Cleanup to Feature
Actions #2

Updated by Nathan Cutler over 4 years 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".

Actions #3

Updated by Ernesto Puerta over 4 years 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.

Actions

Also available in: Atom PDF