#5859: sage -coverageall fails on directories with zero tests
----------------------+-----------------------------------------------------
 Reporter:  mabshoff  |       Owner:  mabshoff  
     Type:  defect    |      Status:  new       
 Priority:  major     |   Milestone:  sage-3.4.2
Component:  doctest   |    Keywords:            
----------------------+-----------------------------------------------------
 {{{
 ./sage -coverageall devel/sage/sage/catalogue/
 }}}
 results in
 {{{
 Traceback (most recent call last):
   File "/scratch/mabshoff/sage-3.4.2.alpha0/local/bin/sage-coverageall",
 line 44, in <module>
     coverage_all(sys.argv[1])
   File "/scratch/mabshoff/sage-3.4.2.alpha0/local/bin/sage-coverageall",
 line 28, in coverage_all
     score = (float(scr) / total)
 ZeroDivisionError: float division
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5859>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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