On 08/ 3/10 09:31 PM, Jeroen Demeyer wrote:
On 2010-08-03 19:11, William Stein wrote:
How about if whenever somebody runs

    make testlong

at the end an email is sent to [email protected] that contains some
information:

     * description of platform (OS + hardware)
     * list of files where tests failed
     * version of sage being tested

How do you define "version of sage being tested"?  I do "make testlong"
all the time on various versions of Sage with various combinations of
spkg's installed with various patches applied.  Your hypothetical script
should really detect all this, because if you ask people only to run
"make testlongreport" on a vanilla Sage, they will sooner or later screw
up and do it on a custom version.

Jeroen.

There's no doubt that having some sort of list of systems on which sage is verified to work on each release would be useful. In particular it could pick up problems on systems where Sage would be expected to work, but fails to do so.

But one could easily end up with inaccurate reports due to changes in Sage and poor system setups. I don't know how you avoid that totally, though there are some things one could do.

It would be relatively easy to create a checksum of every package in spkg/standard, then use those checksums to create another checksum. The following would give a unique checksum of all the packages.

drkir...@hawk:~/j/sage-4.5.2.rc0$ cksum spkg/standard/*.spkg | awk '{print $1}' | cksum | awk '{print $1}'
2226410936


(BTW, that's a clean sage-4.5.2.rc0, so it should be the same for anyone else that has a perfectly clean sage-4.5.2.rc0. Adding, removing or changing any .spkg files in spkg/standard/ would change that checksum.

(I use cksum as its portable. The algorithm is defined by POSIX standards).

Perhaps similar could be done with the Sage library. Ideally one would want to combine checksums of all the components of Sage into one checksum that could be held on the Sage server.

But all of this is a lot more complex than generating a list of what we support and to what level.

Dave

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

Reply via email to