#9295: Add an spkg-check file for Python
----------------------------+-----------------------------------------------
   Reporter:  drkirkby      |       Owner:  tbd       
       Type:  defect        |      Status:  new       
   Priority:  major         |   Milestone:  sage-4.4.4
  Component:  spkg-check    |    Keywords:            
     Author:  David Kirkby  |    Upstream:  N/A       
   Reviewer:                |      Merged:            
Work_issues:                |  
----------------------------+-----------------------------------------------
Changes (by drkirkby):

 * cc: jsp (added)


Comment:

 Here's the revised package.


 http://boxen.math.washington.edu/home/kirkby/revised-
 patches/python-2.6.4.p9.spkg

 With those changes, and SAGE_CHECK exported to "yes", so the test suite is
 run:

 {{{
 Sleeping for three seconds before testing python
 math module OK
 hashlib module imported

 real    1m30.977s
 user    1m13.338s
 sys     0m11.943s
 Successfully installed python-2.6.4.p9
 Running the test suite.
 Testing the Python package
 running build
 running build_ext
 <snip>
 test_grammar
 test_opcodes
 test_dict
 test_builtin
 test_exceptions
 test_types
 test_unittest
 test_doctest
 test_doctest2
 test_MimeWriter
 test_SimpleHTTPServer
 }}}

 On my Sun Ultra 27 (!OpenSolaris 06/2009), there are a few failures

 {{{
 322 tests OK.
 5 tests failed:
     test_distutils test_float test_hotshot test_multiprocessing
     test_sunaudiodev
 38 tests skipped:
     test_aepack test_al test_applesingle test_bsddb test_bsddb185
     test_bsddb3 test_cd test_cl test_codecmaps_cn test_codecmaps_hk
     test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses
     test_epoll test_gdbm test_gl test_imgfile test_kqueue
     test_linuxaudiodev test_macos test_macostools test_normalization
     test_ossaudiodev test_pep277 test_py3kwarn test_scriptpackages
     test_smtpnet test_socketserver test_ssl test_startfile test_tcl
     test_timeout test_urllib2net test_urllibnet test_winreg
     test_winsound test_zipfile64
 2 skips unexpected on sunos5:
     test_tcl test_ssl
 make[2]: *** [test] Error 1
 make[2]: Leaving directory
 `/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/python-2.6.4.p9/src'
 An error occured whilst testing Python
 *************************************
 }}}

 so it was useful to know about these.

 '''Note, failures detected by the test routine do NOT stop stage building
 unless SAGE_CHECK is set to yes, so the fact the test suite finds failures
 has no detrimental effect on Sage, but should highlight areas where we
 should be concerned'''

 Dave

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9295#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to