#18904: Automatically test optional non-packages (CPLEX, Gurobi, Maple?, ..)
-------------------------+-------------------------------------------------
Reporter: | Owner:
ncohen | Status: needs_review
Type: | Milestone: sage-6.8
enhancement | Resolution:
Priority: major | Merged in:
Component: | Reviewers:
doctest framework | Work issues:
Keywords: | Commit:
Authors: | 9a011eb0a49a3041ae8574e9ce760a8556516417
Nathann Cohen | Stopgaps:
Report Upstream: N/A |
Branch: |
public/18904 |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by dimpase):
Replying to [comment:11 ncohen]:
> More interfaces. As I needed a loop for the others, I also converted the
MILP test as a loop.
>
> Still ugly, so if somebody has a nice idea to rewrite it better.. `:-/`
not tested (don't know how to test that script in `sage/doctests`):
{{{
#!python
def tryer(s):
exec('from sage.interfaces.'+s+' import '+s)
try:
eval(s+'(1)')
options.optional.add(s)
except:
pass
for stuff in ['matlab', 'maple', 'macaulay2', 'octave', 'scilab']:
tryer(stuff)
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/18904#comment:13>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.