#9311: Add an spkg-check file for ratpoints
--------------------------+-------------------------------------------------
   Reporter:  drkirkby    |       Owner:  tbd                                   
     
       Type:  defect      |      Status:  new                                   
     
   Priority:  major       |   Milestone:  sage-4.5                              
     
  Component:  spkg-check  |    Keywords:                                        
     
     Author:              |    Upstream:  Not yet reported upstream; Will do 
shortly.
   Reviewer:              |      Merged:                                        
     
Work_issues:              |  
--------------------------+-------------------------------------------------
Changes (by drkirkby):

  * upstream:  N/A => Not yet reported upstream; Will do shortly.


Comment:

 This is not quite as simple as one would like on Solaris, as the test
 suite makes use of a non-POSIX '-u' option to diff

 http://www.opengroup.org/onlinepubs/009695399/utilities/diff.html

 so generates this as an output:

 {{{
 Successfully installed ratpoints-2.1.3.p2
 Running the test suite.
 Testing a 64-bit version of ratpoints
 gcc rptest.c -o rptest
 -I/export/home/drkirkby/sage-4.4.4.alpha1/local/include -Wall -O2 -fPIC
 -DRATPOINTS_MAX_BITS_IN_PRIME= -DUSE_SSE
 -L/export/home/drkirkby/sage-4.4.4.alpha1/local/lib -lgmp -lm -L.
 -lratpoints -m64
 time ./rptest > rptest.out

 real    0m0.05s
 user    0m0.00s
 sys     0m0.00s
 diff -q testbase rptest.out
 diff: illegal option -- q
 usage: diff [-bitw] [-c | -e | -f | -h | -n | -u] file1 file2
        diff [-bitw] [-C number | -U number] file1 file2
        diff [-bitw] [-D string] file1 file2
        diff [-bitw] [-c | -e | -f | -h | -n | -u] [-l] [-r] [-s] [-S name]
 directory1 directory2
 make: *** [test] Error 2
 An error occurred while testing ratpoints
 }}}

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