On Fri, 2012-02-17 at 12:18 -0800, Alan W. Irwin wrote: > On 2012-02-17 23:52+0530 Atri wrote: > > > Finally, with these modifications, and the examples corrected as in the > > latest revision, the 'make test_lua_psc' passes wonderfully, i.e. not > > only does it pass, but it creates ps files of plots that look fine. I > > found that the ps files created using the c++ examples and using lua 5.2 > > looked identical. I interpret that to mean plplot works just great with > > lua 5.2 as well \o/ > > > > Do you want me to submit the ps files or something so you could verify? > > Hi Atri: > > Please run the "test_diff_psc" target to verify in detail what you > have visually observed above. What this test does is automatically > compare PostScript results from C standard examples with those same > examples implemented in all our supported languages (including lua). > > Here are the lua-5.1 results of that test on my system: > > lua > Missing examples : 00 > Differing postscript output : > Missing stdout : > Differing stdout : > > which shows standard example 00 missing for lua, but for all other > 30+ standard examples, lua and C results are the same. > > In fact, I would recommend running the test_diff_psc target or better > yet the test_noninteractive target (which depends on test_diff_psc and > also a few other smaller non-interactive test targets) for anyone > interested in comprehensively checking their PLplot build.
Ok, seems I jumped the gun there. Example 21 from latest svn seems to be creating some problems. Here is the result of test_diff.sh =============================================================== lua Missing examples : Differing postscript output : 21 Missing stdout : Differing stdout : WARNING: Some PostScript or stdout results were different =============================================================== If instead I use math.fmod instead of % to replace all occurrences of math.mod in the lua examples shipped with the 5.9.9 tarball, then I get the expected results from test_diff.sh:- =============================================================== lua Missing examples : Differing postscript output : Missing stdout : Differing stdout : =============================================================== Hope that helps. > To complete this work I plan to update our build system to incorporate > all the changes you have shown are required to get lua 5.2 to work, > (with the added feature that I will use the lua -v command to > determine which version of lua is installed so we don't have to keep > maintaining version number lists). Once that works for me here with > lua-5.1, I will ask you to do one further test of that unpatched updated build > system there to make sure it continues to work for lua-5.2. > > 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); the Time > Ephemerides project (timeephem.sf.net); PLplot scientific plotting > software package (plplot.sf.net); 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 > __________________________ Bye -- Atri ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel