Skip to content

Mechanism to skip self-tests (spkg-check) for certain packages #12579

@jhpalmieri

Description

@jhpalmieri

With the attached patch, if you set SAGE_CHECK=yes and SAGE_CHECK_PACKAGES='!python,!cvxopt' and then build Sage, it will run self-tests for all packages except python and cvxopt. By default, SAGE_CHECK_PACKAGES=!python.

This sort of behavior can be useful with the current situation, in which python always fails self-tests (as far as I know), and a package like cvxopt fails them on OS X Lion. So when I'm testing Sage with Lion, I could use '!python,!cvxopt' and easily run self-tests on all of the other packages. This should be viewed as merely a convenience — I hope that people straighten out Python's test suite in general and cvxopt on Lion — but it might be a useful option.

Apply

Depends on #4949
Depends on #12479

Component: build

Author: John Palmieri

Reviewer: Jeroen Demeyer

Merged: sage-5.0.beta7

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions