#5155: Fix doctests that want write access to $SAGE_ROOT
----------------------------------------------------------------------------------+
Reporter: mabshoff
| Owner: jdemeyer
Type: defect
| Status: needs_review
Priority: critical
| Milestone: sage-5.6
Component: scripts
| Resolution:
Keywords:
| Work issues:
Report Upstream: N/A
| Reviewers:
Authors: Mike Hansen, Jeroen Demeyer, John Palmieri
| Merged in:
Dependencies: #13157, #13397, #13452, #13407, #13459, #13457, #13123,
#13887 | Stopgaps:
----------------------------------------------------------------------------------+
Changes (by jdemeyer):
* dependencies: #13157, #13397, #13452, #13407, #13459, #13457, #13123
=> #13157, #13397, #13452, #13407,
#13459, #13457, #13123, #13887
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, 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/en
> devel/sage/sage
> }}}
>
> On sage-5.4.beta1, this causes:
> {{{
> The following tests failed:
>
> sage -t --long devel/sage/sage/interfaces/qepcad.py # 3 doctests
> failed
> sage -t --long devel/sage/sage/misc/inline_fortran.py # 3
> doctests failed
> sage -t --long devel/sage/sage/tests/cmdline.py # 2 doctests
> failed
> }}}
>
> '''Apply''':
> 1. [attachment:5155_sage_location.patch] to the scripts repository.
> 1. [attachment:5155_root.patch] to the `SAGE_ROOT` repository.
> 1. [attachment:5155_sagelib.patch] and [attachment:5155_fortran.patch]
> to the Sage library.
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, 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/en
devel/sage/sage
}}}
On sage-5.4.beta1, this causes:
{{{
The following tests failed:
sage -t --long devel/sage/sage/interfaces/qepcad.py # 3 doctests
failed
sage -t --long devel/sage/sage/misc/inline_fortran.py # 3 doctests
failed
sage -t --long devel/sage/sage/tests/cmdline.py # 2 doctests
failed
}}}
'''Apply''':
1. [attachment:5155_sage_location.patch] to the scripts repository.
1. [attachment:5155_root.patch] to the `SAGE_ROOT` repository.
1. [attachment:5155_sagelib.patch] to the Sage library.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5155#comment:42>
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.