Running ptestlong/ptestalllong in a Python3-based Sage ?

38 views
Skip to first unread message

Emmanuel Charpentier

unread,
Jul 1, 2019, 9:12:22 AM7/1/19
to sage-devel
Dear all,

I plan to switch to Python3-base Sagemath (as recenthy requested on this list) at least in order to be able to report my results and corner cases resulting from my (admittedly peculiar) use of Sage.

So far, the instructions given in the FAQ worked. Perusing the sage-release list hinted me about make ptest-python3. So I wonder how to run (the equivalents of) ptestlong and/arr testalllong without bumping on a whole lot of known unsupported cases.

Hints ?

Frédéric Chapoton

unread,
Jul 1, 2019, 10:13:54 AM7/1/19
to sage-devel
Salut,

There is only one python3-specific target so far. This target is slowly getting closer and closer to being just the same as testing all files. At some point (hopefully), it will become useless, when all tests will pass with python3.

I am not sure what you are asking for. You can run any of the usual make targets, and they will report errors. If you want them to report no error, then this must wait until somebody fixes these errors. Hint : you can help by reviewing tickets. https://trac.sagemath.org/ticket/26212

Frédéric

Compare the definitions:

TESTALL = ./sage -t --all
PTESTALL
= ./sage -t -p --all
PTEST_PYTHON3
= cat src/ext/doctest/python3-known-passing.txt | xargs ./sage -t --long -p

Reply all
Reply to author
Forward
0 new messages