On 31 Okt., 02:00, Mitesh Patel <qed...@gmail.com> wrote:
> On 10/30/2010 06:09 PM, David Kirkby wrote:
> > On 30 October 2010 23:55, Mitesh Patel <qed...@gmail.com> wrote:
> >>>> "/Users/buildbot/build/sage/bsd-2/bsd_64_full/build/sage-4.6.0pre0/devel/sa
> >>>> ge/sage/libs/fplll/fplll.pyx", line 853:
> >>>>    sage: L.echelon_form() == A.echelon_form()
> >>>> Expected:
> >>>>    True
> >>>> Got:
> >>>>    False
> >> I get 6 failures out of 1000 runs with 4.6.rc0 on sage.math (64-bit
> >> Ubuntu 8.04.4 LTS).
>
> > So far all passes of 1202 runs on OpenSolaris.
>
> > This is with very latest alpha I managed to find (sage-4.6.1.alpha0).
> > I'll try it with 4.6.rc0 too.
>
> I get 5 failures out of 1000 runs with a 32-bit 4.6.rc0 on OS X 10.6
> (bsd.math).

3/1000 failures on Ubuntu 10.04 x86_64 (Core2), Sage 4.6.rc0, first
run.
4/1000 failures on Ubuntu 10.04 x86_64 (Core2), Sage 4.6.rc0, second
run.
3/1000 failures on Ubuntu 9.04 x86_64 (Core2), Sage 4.6.rc0, first
run.
2/ 500 failures on Ubuntu 9.04 x86_64 (Core2), Sage 4.6.rc0, second
run.
5/1000 failures on Ubuntu 9.04 x86 (Pentium 4 Prescott), Sage 4.6.rc0.

(Exactly the same as above, line 853, False instead of True.)

P.S.:

#!/usr/bin/env bash

case $# in
    1) runs=$1;;
    0) runs=1000;;
    *) echo "Usage: $0 [num_runs]"
       exit 1
esac

num_failed=0
failed_runs=""

for ((r=1;$r<=$runs;r=$r+1))
do
    echo "Run $r/$runs:"
    ./sage -t -long -force_lib devel/sage/sage/libs/fplll/fplll.pyx
    if [ $? -ne 0 ]; then
        num_failed=`expr $num_failed + 1`
        failed_runs="$failed_runs $r"
    fi
done
echo "Failures: $num_failed/$runs"
if [ $num_failed -ne 0 ]; then
    echo "Failed runs:$failed_runs"
fi

(One could of course make the file to test an optional parameter,
too, ...) :-)


-Leif

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to