On 2008-12-17 16:26-0000 Andrew Ross wrote: > Current status is that I have updated the test scripts for all languages > (except octave - technical issues) to ensure that stdout is stored in a > file as well as printed on screen (requires the tee command). If tee is > missing then the output will only go to a file. The compare test now > does a diff on these files as well as on the postscript files. This will > be particularly useful for example 31, but also examples 1 and 23 which > print some information on stdout. > > I have made a few minor changes to your python example 31 and propagated > these to C (to allow checking of the updated test scripts). This has > shown up a few minor differences for example 1 and 23 which I have > mostly fixed.
Hi Andrew: Thanks very much for this stdout (or should that be standout? :-) ) comparison implementation. It produces a clear summary of what is going on. One small issue (now fixed with revision 9170) was test_ocaml.sh.in had a bad name for the PLplot file which dropped it from the test. Thanks also for straightening out the python script so the two tests didn't fail. In my previous post in this thread I had incorrectly attributed those failures to python interface errors so I am a glad you discovered it was just my two test implementations that needed fixing. Here are the current ctest results on my machine: ---------------------------------------------------------- c++ Missing examples : Differing postscript output : 31 Missing stdout : Differing stdout : 31 f77 Missing examples : Differing postscript output : 31 Missing stdout : Differing stdout : 31 f95 Missing examples : Differing postscript output : 31 Missing stdout : Differing stdout : 31 java Missing examples : 19 Differing postscript output : 31 Missing stdout : Differing stdout : 31 octave Missing examples : 19 Differing postscript output : 31 Missing stdout : 01 02 03 04 05 06 07 08 09 10 11 12 13 15 16 18 20 21 22 23 24 25 26 27 28 29 30 31 Differing stdout : python Missing examples : 19 Differing postscript output : 15 Missing stdout : Differing stdout : tcl Missing examples : 19 31 Differing postscript output : 11 13 15 16 20 Missing stdout : Differing stdout : perl Missing examples : 31 Differing postscript output : 03 09 13 15 29 Missing stdout : Differing stdout : ada Missing examples : 31 Differing postscript output : 03 09 13 15 29 Missing stdout : Differing stdout : 23 ocaml Missing examples : Differing postscript output : 15 29 31 Missing stdout : Differing stdout : 31 ---------------------------------------------------------- I think the two of us have come to consensus on example 31 now. To coordinate the further work, if nobody else has further ideas about additional set/get tests by tomorrow (Thursday), I will take responsibility for propagating the updated example 31 to the other languages then. Today, I will do what I can to reduce the above diff lists (except those concerning example 31) in the order python, ada, and perl. I don't really know how to programme in the last two languages, but I will do what I can by analogy similar to what you have already done for ocaml. I will definitely leave the current stdout octave problems to you. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel