#5155: Fix doctests and methods that want write access to $SAGE_LOCAL
------------------------+---------------------------------------------------
Reporter: mabshoff | Owner: jdemeyer
Type: defect | Status: needs_work
Priority: critical | Milestone: sage-4.7.2
Component: doctest | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Mike Hansen
Merged: | Dependencies: #11926
------------------------+---------------------------------------------------
Description changed by jdemeyer:
Old description:
> All doctests in Sage should pass when they are run as a user that does
> not have write access to the Sage install. To do that, set SAGE_TESTDIR
> to some place writable, for example
> {{{
> export SAGE_TESTDIR=$HOME/tmp
> }}}
> and run the doctests on a Sage install that isn't owned by the user:
> {{{
> $ ./sage -tp 4 -long devel/sage/doc/common devel/sage/doc/de
> devel/sage/doc/en devel/sage/doc/fr devel/sage/doc/ru devel/sage/sage
> }}}
>
> Here, we assume that the owner of the Sage install has run Sage at least
> once (or has applied #11926) and has ran some doctest.
>
> On sage-4.7.2.alpha4, this causes:
> {{{
> The following tests failed:
>
> sage -t devel/sage/sage/modular/hecke/submodule.py # 1 doctests
> failed
> sage -t devel/sage/sage/modular/abvar/abvar.py # 1 doctests
> failed
> sage -t devel/sage/sage/lfunctions/sympow.py # 10 doctests
> failed
> sage -t devel/sage/sage/interfaces/qepcad.py # 3 doctests failed
> sage -t
> devel/sage/sage/schemes/elliptic_curves/ell_rational_field.py # 16
> doctests failed
> }}}
New description:
All doctests in Sage should pass when they are run as a user that does not
have write access to the Sage install. To do that, set SAGE_TESTDIR to
some place writable, for example
{{{
export SAGE_TESTDIR=$HOME/tmp
}}}
and run the doctests on a Sage install that isn't owned by the user:
{{{
$ ./sage -tp 4 -long devel/sage/doc/common devel/sage/doc/de
devel/sage/doc/en devel/sage/doc/fr devel/sage/doc/ru devel/sage/sage
}}}
Here, we assume that the owner of the Sage install has run Sage at least
once (or has applied #11926).
On sage-4.7.2.alpha4, this causes:
{{{
The following tests failed:
sage -t devel/sage/sage/modular/hecke/submodule.py # 1 doctests
failed
sage -t devel/sage/sage/modular/abvar/abvar.py # 1 doctests
failed
sage -t devel/sage/sage/lfunctions/sympow.py # 10 doctests failed
sage -t devel/sage/sage/interfaces/qepcad.py # 3 doctests failed
sage -t
devel/sage/sage/schemes/elliptic_curves/ell_rational_field.py # 16
doctests failed
}}}
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5155#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.