#32892 closed defect (fixed)

Fix exit code for pytest in case of no matched files

Reported by: Tobias Diez Owned by:
Priority: major Milestone: sage-9.5
Component: build Keywords:
Cc: Matthias Köppe, Julian Rüth Merged in:
Authors: Tobias Diez Reviewers: Julian Rüth
Report Upstream: N/A Work issues:
Branch: 89b8754 (Commits, GitHub, GitLab) Commit: 89b8754ad30c6a1bd1fdbd6d62011055bf13b24a
Dependencies: Stopgaps:

Status badges

Description

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

Change History (5)

comment:1 Changed 13 months ago by Tobias Diez

Status: newneeds_review

comment:2 Changed 13 months ago by Julian Rüth

Reviewers: Julian Rüth
Status: needs_reviewpositive_review

comment:3 Changed 13 months ago by Tobias Diez

Thanks for the quick review!

comment:4 Changed 13 months ago by Matthias Köppe

Priority: minormajor

comment:5 Changed 12 months ago by Volker Braun

Branch: public/build/pytest-empty89b8754ad30c6a1bd1fdbd6d62011055bf13b24a
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.