#10138: Doctest failure in trace.py with 64-bit OS X build
-----------------------+----------------------------------------------------
   Reporter:  mpatel   |       Owner:  mvngu     
       Type:  defect   |      Status:  new       
   Priority:  major    |   Milestone:  sage-4.6.1
  Component:  doctest  |    Keywords:            
     Author:           |    Upstream:  N/A       
   Reviewer:           |      Merged:            
Work_issues:           |  
-----------------------+----------------------------------------------------

Comment(by leif):

 Something like
 {{{
 #!sh
 flagfile=... # whatever its name / location will be

 test -z "$SAGE64" && export SAGE64=no # default to no if not set

 case "$SAGE64" in
     yes|no)
         if [ -f "$flagfile" ]; then
             saved64=`cat "$flagfile"`
             if [ "$saved64" != "$SAGE64" ]; then
                 # inconsistent -> error
             fi
         else
             echo $SAGE64 > "$flagfile"
         fi
        ;;
     *)
         # invalid value -> error
 esac

 # And no messages, only errors to stderr
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10138#comment:9>
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