Here is a probably dumb question.
Currently (as far as I am aware), most spkgs should pass with
SAGE_CHECK set, though it does depend on the platform and specific
machine. Python is somewhat notorious for not doing so. I'd like to
be able to start using SAGE_CHECK while building, but currently this
is annoying because it means I have to wait until it fails with
Python, then unset it for Python, reset it on the next spkg... not
very automated.
On Jan 17, 2012 10:19 AM, "Volker Braun" <vbrau...@gmail.com> wrote:
>
> I consider it a bug that Python's testsuite fails on many systems even though the resulting python install is perfectly usable for our purposes. The Python spkg-check should be changed to not call the whole python testsuite blindly if it is this finicky.
>
>
Huge +1
> --
> To post to this group, send an email to sage-...@googlegroups.com
> To unsubscribe from this group, send an email to sage-devel+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
I consider it a bug that Python's testsuite fails on many systems even though the resulting python install is perfectly usable for our purposes. The Python spkg-check should be changed to not call the whole python testsuite blindly if it is this finicky.
Another +1 here.
Is there any way to conveniently extract the failure information from
Python's test suite? Then we could do something like:
expected_failures = set(...)
# do stuff to get the actual failures from Python tests
if not actual_failures.issubset(expected_failures):
# spkg-check says tests failed
else:
# spkg-check exits normally
Dan
--
--- Dan Drake
----- http://mathsci.kaist.ac.kr/~drake
-------
Fortunately, upon digging in the makefile, I see that it's easy to avoid
the few tests that we know won't work: in spkg-check, just change
make test
to
make EXTRATESTOPTS="-x test_tcl -x test_dbm -x test_gdbm -x test_bsddb" test
Now we just need to know which tests to exclude. On Linux, is it always
those four that fail? On OS X and Solaris, which tests always fail?
Adding such exclusions to the Python spkg is now
http://trac.sagemath.org/sage_trac/ticket/12321.
I see already that making the list of exclusions might be hard. On
Ubuntu 11.10, the test suite skips a bunch of tests, and says "someone
teach regrtest what tests are expected to be skipped on linux3". So we
need to treat 3.0 Linux kernels differently from 2.6 ones.
(The four tests quoted above are those that fail on
sagenb.kaist.ac.kr -- Ubuntu 10.04.)