-
Notifications
You must be signed in to change notification settings - Fork 26
Known test failures
François Bissey edited this page Feb 11, 2017
·
30 revisions
How does one test Sage on Gentoo ? Make sure sage is installed with USE=testsuite and run the following command in directory where Sage may write to:
sage -testall
Results from kiwifb with 7.5.1+ on x86_64.
sage -t --long /usr/lib64/python2.7/site-packages/sage/tests/cmdline.py # 1 doctest failed sage -t --long /usr/lib64/python2.7/site-packages/sage/misc/cython.py # 3 doctests failed sage -t --long /usr/lib64/python2.7/site-packages/sage/rings/integer.pyx # 1 doctest failed sage -t --long /usr/lib64/python2.7/site-packages/sage/repl/interpreter.py # 2 doctests failed sage -t --long /usr/lib64/python2.7/site-packages/sage/interfaces/tests.py # 1 doctest failed sage -t --long /usr/lib64/python2.7/site-packages/sage/libs/libecm.pyx # 1 doctest failed sage -t --long /usr/lib64/python2.7/site-packages/sage/misc/gperftools.py # 1 doctest failed sage -t --long /usr/lib64/python2.7/site-packages/sage/interfaces/qepcad.py # 1 doctest failed sage -t --long /usr/lib64/python2.7/site-packages/sage/ext/memory.pyx # 1 doctest failed sage -t --long /usr/lib64/python2.7/site-packages/sagenb/notebook/misc.py # 2 doctests failed
All the failures can be qualified as minor. Some details:
- sage/tests/cmdline.py and sage/misc/gperftools.py s-o-g reports different python shell command.
- interfaces/qepcad.py different location for binary package.
- sagenb/notebook/misc.py different hash reported because we use a separate json. sagemathcloud has the same error :) this is harmless.
- ext/memory.pyx, rings/integer.pyx and likely repl/interpreter.py, are due to different failure message between gmp and mpir.
- interfaces/tests.py different value for a ecls test (a fix in sage to avoid a seg-fault in ecls under some circumstances).
- misc/cython.py a compilation against singular fails and two subsequent tests also fail. Sage upstream has decided to move the singular headers one directory up and the compilation rely on this location for the headers. I am not going to move singular's header just for sage. Furthermore singular now ship .pc files which means you are supposed to have an easy way to know the location of the headers.
- libs/libecm.pyx gmp 6+ has new behaviour compared to mpir. gmp-ecm upstream thinks the new behaviour is more consistent.