From: Alan W. I. <ir...@be...> - 2012-02-18 19:37:27
|
On 2012-02-18 04:42+0530 Atri wrote: > 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 > =============================================================== Hi Atri: The first thing I noticed about the above result is there is no complaint about missing example 00. So something appears to be wrong with the conditions you used for this test. My best guess is you probably had a dirty build tree with some stale 5.9.9 results mixed in with the trunk version results. So could you please repeat this test starting from a fresh svn checkout to an initially empty source tree, and then build starting from an empty build tree? That fresh checkout should capture my recent build system changes so (with luck) there should be no need for you to patch anything to get the build to work. Once the unpatched build from trunk works for you, then please test for run-time issues as above with the test_diff_psc target. If you still get example 21 run-time issues as above, please try replacing the % (just for that particular trunk example) with math.fmod. The example 21 issue (if it still exists for a fresh start) may not be with % (since that works perfectly for 5.1). Instead, some other trunk issue could be the cause of the problem, but replacing % with math.fmod in the trunk example 21 should should help to answer that question. By the way, I ignored your 5.9.9 results since trunk has a number of changes since 5.9.9, and any of those changes (or your stale build or whatever it was that made the missing examples/lua/x00.lua go unnoticed) could be the cause of the example 21 issue. Also, getting trunk working correctly is very important to the PLplot developers since that version will become our next released version (whenever that release occurs). 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 __________________________ |