Ticket #299 (closed enhancement: fixed)
add make check to all spkg where it is missing
| Reported by: | was | Owned by: | mabshoff |
|---|---|---|---|
| Priority: | major | Milestone: | sage-3.1.2 |
| Component: | packages: standard | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
Project: Go through every spkg in the SAGE standard distribution and add a file
spkg-check
that runs whatever the standard test program is for that package, assuming spkg-install has already run successfully. For example, for many programs (e.g., gmp), this will just be:
make check
or maybe "make test".
The program spkg-check should exit with a 0 code if and only if all tests pass.
Then when building SAGE, if one did something like
export CHECK=1 make
then all spkg-check's would get run along the way. The build would take much longer, but would be much more confidence inspiring.
Change History
comment:2 Changed 6 years ago by mabshoff
The following come from #153 (which I have just closed as a duplicate)
It would also be nice to use the "-t" flag to run spkg-check when building packages:
sage -i -t packagename.spkg
Cheers,
Michael
