Minh Nguyen 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.
Thank you. In which case I'll change the iconv package to do that.
There are two rather annoying things about the iconv package
* One test on Solaris SPARC dumps core.
* 'make check' does not exit with a code of 1, so there is no way to actually
detect the error - it relies on one noticing it. I'll report both as bugs to
iconv developers.
But in the mean time, I'll use SAGE_CHECK in the intended way. How about
Valgrind - is there a way to use that based on an environment variable? If so
how? It would be intersting to run iconv through valgrind to see if it is doing
something it should not be doing, which is wny it dumps core on Solaris for one
test.
Dave
--
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