Hello everybody,
Nowadays when running 'sage -t', one automatically runs all tests
flagged with '#optional - X' for all installed packages X which are
[optional+new_style].
But many doctests are flagged with '#optional - X' where X is not even
a package, e.g. when X is a proprietary software that we are not
allowed to redistribute as a package.
What packages of this kind should we test? How can we detect if it is
locally available?
I created ticket #18904 [1] to auto-detect CPLEX and Gurobi
(proprietary LP solvers), but if you have more in mind please add a
commit so that they are added to the list.
THaaaaaaaaaaanks,
Nathann
[1] http://trac.sagemath.org/ticket/18904
--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To post to this group, send email to sage-...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
Nathann
> yes, this looks about right. Also, for more of this:
I added matlab, maple, macaulay2, octave and matlab with the same test
pattern. I did not add mathematica: on my machine, ' mathematica(1)'
hangs forever (I don't have it).
The code is getting uglier, so if you know how it could be rewritten?... :-/
Nathann
On 15 July 2015 at 14:19, Nathann Cohen <nathan...@gmail.com> wrote:> yes, this looks about right. Also, for more of this:
I added matlab, maple, macaulay2, octave and matlab with the same test
pattern. I did not add mathematica: on my machine, ' mathematica(1)'
hangs forever (I don't have it).Same here. I killed it with Ctrl-C, then did mathematica?? and was surprised to get the message:
Mathematica crashed -- automatically restarting.so perhaps the mathametica interface is stuck in a loop endlessly re-trying.
By automatically running those tests, you are forcing people to care
about stuff that they didn't want to care about.
Let's assume the story ends here. You use Sage only and other people use
Mathematica only. If you run "make ptestlong", would you like to see
failures related to Mathematica? I know I would be bothered by seeing
those failures.
Would you be bothered by the fact that you will always see those doctest
failures that you cannot get rid of, just because somebody installed an
outdated version of Mathematica on that machine?
Jeroen.
> What if mathematica(1) or mathematica('1+1') works on the old version but
> something more complicated does not work?
How challenging can it be to figure out the version of mathematica?
What if mathematica(1) or mathematica('1+1') works on the old version
but something more complicated does not work?
Hello everybody,
Nowadays when running 'sage -t', one automatically runs all tests
flagged with '#optional - X' for all installed packages X which are
[optional+new_style].
But many doctests are flagged with '#optional - X' where X is not even
a package, e.g. when X is a proprietary software that we are not
allowed to redistribute as a package.
What packages of this kind should we test? How can we detect if it is
locally available?
I created ticket #18904 [1] to auto-detect CPLEX and Gurobi
(proprietary LP solvers), but if you have more in mind please add a
commit so that they are added to the list.
THaaaaaaaaaaanks,
Nathann
[1] http://trac.sagemath.org/ticket/18904
Hi,
Le 16/07/2015 13:16, Jeroen Demeyer a écrit :
> On 2015-07-16 13:03, Nathann Cohen wrote:
>> What is somebody has such an
>> install and *wants* to use it with Sage?
> This points to the core problem: we simply have no way to guess whether
> people want to do that or not.
>
> Here is a possible compromise proposal:
> * keep default optional package as they are now
> * add a new flag --optional=external (or change --optional=all to do
> this) to test all auto-detected-but-not-part-of-Sage packages like
> mathematica.
> * add a corresponding Makefile target running tests with this flag.
>
Here is another idea : don't put the interface to the external package
in sage-the-library, but in an optional package.