On Sun, Feb 14, 2010 at 4:29 AM, Minh Nguyen <[email protected]> wrote: > Hi David, > > On Sun, Feb 14, 2010 at 10:23 PM, David Kirkby <[email protected]> > wrote: >> Is there a documented definition for what SAGE_CHECK is suposed to be >> used for? > > When one (re)installs an spkg, the script SAGE_LOCAL/bin/sage-spkg is > called to perform the installation. This script is also where the > variable SAGE_CHECK is checked to determine if it's set in > spkg-install. As far as I can tell, this variable is not documented in > the Developer's Guide. > > >> Is it for packages to run their self-tests, if SAGE_CHECK is >> set to yes? > > Yes. Ticket #8262 tracks the issue of documenting what the variable > SAGE_CHECK does.
In case anybody missed it: If SAGE_CHECK is set, then spkg-check is run after spkg-install succeeds. If spkg-check exists with a nonzero exit status, then the build stops with an error. That's all SAGE_CHECK does. William -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
