From: Alan W. I. <ir...@be...> - 2012-02-17 20:18:29
|
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. > > Thanks a lot for all the really nice help. Please let me know if there > is something more I need to do about this. You are welcome, and my thanks to you as well for pioneering lua 5.2 for us. 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 __________________________ |