#4515: [with patch; needs review] make it so "make check" runs Sage once before
running itself, to ensure that sage-location is called, and that sage works
--------------------------+-------------------------------------------------
Reporter: was | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-3.2
Component: distribution | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Changes (by was):
* summary: make it so "make check" runs Sage once before running itself,
to ensure that sage-location is called, and
that sage works => [with patch; needs review]
make it so "make check" runs Sage once before
running itself, to ensure that sage-location is
called, and that sage works
Comment:
This ticket includes three files. sage-4515-sage_c_bug.patch fixes a bug
in the sage-sage script where {{{sage -c "..."}}} didn't correctly run the
sage_setup function in sage-sage. The second file
sage-4515-sage_starts.patch adds a sage-starts script, that verifies that
ones sage actually starts up. The third file {{{makefile}}} replaces the
makefile in SAGE_ROOT by a new one that runs sage-starts before running
any of the make check targets.
To test this patch, take any sage install, edit the file
SAGE_ROOT/local/lib/sage-current-location.txt and put some random crap in
there. Then do
{{{
sage -c "2+2"
}}}
and see that the current location stuff gets updated. Corrupt sage-
current-location.txgt again, then do
{{{
make check # or any other target
}}}
and verify that the location stuff gets updated.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4515#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---