#12613: Add option "-c" to sage-spkg to run the test-suite
------------------------------------------+---------------------------------
Reporter: jhpalmieri | Owner: GeorgSWeber
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-5.0
Component: build | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Jeroen Demeyer
Authors: John Palmieri | Merged in:
Dependencies: #12479, #12579, #12602 | Stopgaps:
------------------------------------------+---------------------------------
Comment (by jhpalmieri):
Do you think it's clear enough that you can add the options `-s` or `-c`
to `sage -f ...`? How about this change instead (modeled after the usage
for `sage -t`):
{{{
#!diff
diff --git a/spkg/bin/sage b/spkg/bin/sage
--- a/spkg/bin/sage
+++ b/spkg/bin/sage
@@ -113,12 +113,17 @@ usage_advanced() {
####
|.....................--.|...................................................|
echo "Installing packages and upgrading:"
echo " -experimental -- list all experimental packages that
can be installed"
- echo " -f [packages] -- force build of the given Sage package
(even if it is"
- echo " already installed)"
- echo " -f -s [packages] -- like -f but do not delete the
spkg/build directories"
- echo " -i [packages] -- install the given Sage packages"
- echo " if no packages given, print a list of
all installed"
- echo " -i -s [packages] -- like -i but do not delete the
spkg/build directories"
+ echo " -f [packages] -- shortcut for -i -f: force build of the
given Sage"
+ echo " packages."
+ echo " -i [options] [packages]"
+ echo " -- install the given Sage packages
(unless they are"
+ echo " already installed); if no packages are
given, print"
+ echo " a list of all installed packages.
Options:"
+ echo " -c -- run the packages' test suites"
+ echo " -f -- force build: install the
packages even"
+ echo " if they are already installed"
+ echo " -s -- do not delete the spkg/build
directories"
+ echo " after a successful build"
echo " -optional -- list all optional packages that can be
installed"
echo " -standard -- list all standard packages that can be
installed"
#echo " -update -- download latest non-optional Sage
packages (do not build them)"
}}}
I can provide a patch for this and a similar one for the reference manual
if you want me to.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12613#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.