Skip to content

Fix exit code for pytest in case of no matched files #32892

@tobiasdiez

Description

@tobiasdiez

As reported in #31103 comment:44, sage -t xyz fails with exit code 5 if xyz matches no pytest tests. This is fixed.

CC: @mkoeppe @saraedum

Component: build

Author: Tobias Diez

Branch/Commit: 89b8754

Reviewer: Julian Rüth

Issue created by migration from https://trac.sagemath.org/ticket/32892

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions