Sage 4.1.2.alpha2 doctest failures on OS X 10.5.8

0 views
Skip to first unread message

Minh Nguyen

unread,
Sep 22, 2009, 12:07:49 AM9/22/09
to sage-...@googlegroups.com
Hi folks,

Compiling Sage 4.1.2.alpha2 went OK on 32-bit bsd.math (OS X 10.5.8).
Here are the doctest failures for 32-bit mode:

****** doctest failures on 32-bit OS X 10.5.8 ******

sage -t -long "-4.1.2.alpha2/devel/sage/sage/crypto/boolean_function.pyx"
**********************************************************************
File "/Volumes/LACIE/scratch/mvngu/sandbox-32/sage-4.1.2.alpha2/devel/sage/sage/crypto/boolean_function.pyx",
line 1013:
sage: B.nonlinearity()
Expected:
222
Got:
217
**********************************************************************
1 items had failures:
1 of 6 in __main__.example_36
***Test Failed*** 1 failures.
For whitespace errors, see the file
/scratch/mvngu/sandbox-32/sage-4.1.2.alpha2/tmp/.doctest_boolean_function.py
[5.4 s]

<SNIP>

sage -t -long "-4.1.2.alpha2/devel/sage/sage/interfaces/expect.py"
**********************************************************************
File "/Volumes/LACIE/scratch/mvngu/sandbox-32/sage-4.1.2.alpha2/devel/sage/sage/interfaces/expect.py",
line 1599:
sage: gp(10.^80)._sage_repr()
Expected nothing
Got:
'1.000000000000000000000000000e80'
**********************************************************************
1 items had failures:
1 of 3 in __main__.example_45
***Test Failed*** 1 failures.
For whitespace errors, see the file
/scratch/mvngu/sandbox-32/sage-4.1.2.alpha2/tmp/.doctest_expect.py
[14.6 s]

<SNIP>

sage -t -long "-4.1.2.alpha2/devel/sage/sage/interfaces/gp.py"
**********************************************************************
File "/Volumes/LACIE/scratch/mvngu/sandbox-32/sage-4.1.2.alpha2/devel/sage/sage/interfaces/gp.py",
line 567:
sage: repr(gp(10.^80)).replace(gp._exponent_symbol(), 'e')
Expected nothing
Got:
'1.000000000000000000000000000e80'
**********************************************************************
1 items had failures:
1 of 4 in __main__.example_26
***Test Failed*** 1 failures.
For whitespace errors, see the file
/scratch/mvngu/sandbox-32/sage-4.1.2.alpha2/tmp/.doctest_gp.py
[4.2 s]

<SNIP>

sage -t -long "-4.1.2.alpha2/devel/sage/sage/rings/polynomial/pbori.pyx"
**********************************************************************
File "/Volumes/LACIE/scratch/mvngu/sandbox-32/sage-4.1.2.alpha2/devel/sage/sage/rings/polynomial/pbori.pyx",
line 3940:
sage: x.stable_hash()
Expected:
173100285919
Got:
-845955105
**********************************************************************
File "/Volumes/LACIE/scratch/mvngu/sandbox-32/sage-4.1.2.alpha2/devel/sage/sage/rings/polynomial/pbori.pyx",
line 4849:
sage: s.stable_hash()
Expected:
173100285919
Got:
-845955105
**********************************************************************
File "/Volumes/LACIE/scratch/mvngu/sandbox-32/sage-4.1.2.alpha2/devel/sage/sage/rings/polynomial/pbori.pyx",
line 1976:
sage: m.stable_hash()
Expected:
173100285919
Got:
-845955105
**********************************************************************
3 items had failures:
1 of 4 in __main__.example_128
1 of 5 in __main__.example_165
1 of 5 in __main__.example_48
***Test Failed*** 3 failures.
For whitespace errors, see the file
/scratch/mvngu/sandbox-32/sage-4.1.2.alpha2/tmp/.doctest_pbori.py
[6.1 s]

----------------------------------------------------------------------
The following tests failed:


sage -t -long "-4.1.2.alpha2/devel/sage/sage/crypto/boolean_function.pyx"
sage -t -long "-4.1.2.alpha2/devel/sage/sage/interfaces/expect.py"
sage -t -long "-4.1.2.alpha2/devel/sage/sage/interfaces/gp.py"
sage -t -long "-4.1.2.alpha2/devel/sage/sage/rings/polynomial/pbori.pyx"


--
Regards
Minh Van Nguyen

Minh Nguyen

unread,
Sep 22, 2009, 12:19:33 AM9/22/09
to sage-...@googlegroups.com
Hi folks,

Compiling from source went OK on 64-bit bsd.math (OS X 10.5.8). But I
first replaced Fortran, cliquer and ECL with

* Fortran at http://sage.math.washington.edu/home/mvngu/apps/fortran-OSX64-20090120.spkg

* cliquer at #6681, http://trac.sagemath.org/sage_trac/ticket/6681

* ECL at #6883, http://trac.sagemath.org/sage_trac/ticket/6883

Here is the only doctest failure on 64-bit OS X 10.5.8:

sage -t -long "-4.1.2.alpha2/devel/sage/sage/interfaces/maxima.py"
**********************************************************************
File "/Volumes/LACIE/scratch/mvngu/sandbox-64/sage-4.1.2.alpha2/devel/sage/sage/interfaces/maxima.py",
line 2108:
sage: list(v)
Expected:
[0, x, 2*x^2, 3*x^3, 4*x^4, 5*x^5]
Got:
[0, x, , 3*x^3, 4*x^4, 5*x^5]


**********************************************************************
1 items had failures:

1 of 4 in __main__.example_64


***Test Failed*** 1 failures.
For whitespace errors, see the file

/scratch/mvngu/sandbox-64/sage-4.1.2.alpha2/tmp/.doctest_maxima.py
[17.3 s]

This is a known failure and can be fixed by the patch at ticket #6883.

Minh Nguyen

unread,
Sep 23, 2009, 3:53:25 AM9/23/09
to sage-...@googlegroups.com
On Tue, Sep 22, 2009 at 2:07 PM, Minh Nguyen <nguye...@gmail.com> wrote:

<SNIP>

> sage -t -long "-4.1.2.alpha2/devel/sage/sage/interfaces/expect.py"
> sage -t -long "-4.1.2.alpha2/devel/sage/sage/interfaces/gp.py"

Ticket #6999 [1] contains a patch to fix these two doctest failures on
32-bit platforms.

[1] http://trac.sagemath.org/sage_trac/ticket/6999

Reply all
Reply to author
Forward
0 new messages