#9316: Spurious (?) "# File not found" error at end of doctests
-----------------------+----------------------------------------------------
   Reporter:  was      |       Owner:  wjp     
       Type:  defect   |      Status:  new     
   Priority:  major    |   Milestone:  sage-4.5
  Component:  doctest  |    Keywords:          
     Author:           |    Upstream:  N/A     
   Reviewer:           |      Merged:          
Work_issues:           |  
-----------------------+----------------------------------------------------
 Many people have reported a "File not found" error that is reported at the
 end of "make test" when *in fact* a timeout occurred.

 This is caused by some weird code introduced in #7993 (see sage-test):
 {{{
 ...
     s = os.path.join(SAGE_ROOT, 'local', 'bin', 'sage-%s' % cmd) + ' "%s"'
 % F
     err = os.system(s)
     # On unix systems, the return value of os.system has the process
 return
     # value in the second byte.
     err = err // 256

     # Check the process exit code that sage-doctest returns

     if err == 1: # process exit code 1: File not found
         failed.append(sage_test_command(F)+" # File not found")
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9316>
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