On 2009-01-29 14:58-0800 Alan W. Irwin wrote:

> More to follow with the goals of getting (1) ctest in the build tree and (2)
> "make test" in the installed examples tree to work for the Lua case.

Hi Werner:

I now (revision 9415) have ctest implemented for Lua.

I had to remove the following examples from ctest (see
plplot-test/test_lua.sh.in)

# 01, 08, 09, 15, 16, 19, 22, 25, 30 are implemented but do not currently
work (various run-time errors).
# 14, 17, 20, 21, 23, 26, 27, 28, 29, 31 are not implemented.

That left the following list the ctest currently looks at:

02 03 04 05 06 07 10 11 12 13 18 24

Since 01 is not on that list, the test_diff.sh logic does not work correctly
(it assumes if 01 is missing the whole language is missing). To work around
that issue until example 1 can be added to the list of examples without
run-time errors you must run

touch plplot_test/x01lua.psc plplot_test/x01lua_psc.txt

from the top of the build tree to fool ctest -R compare (i.e., test_diff.sh)
into running the lua comparison.

With that workaround the current ctest results are as follows:

lua
   Missing examples            :  08 09 14 14a 15 16 17 19 20 21 22 23 25 26 27 
28 29 30 31
   Differing postscript output :  01 03 11 12 13 18
   Missing stdout              :
   Differing stdout            :  01

So from the above list of examples that ctest runs and the subset of those
where postscript output differs, Lua examples

02 04 05 06 07 10 24

are currently perfect.

Can you run ctest with the suggested workaround for missing example 01 to
confirm these results as well?  The current result of roughly one-fourth the
Lua examples being perfect is excellent for this early in the game.  Indeed,
you are working quite hard on extending and updating the Lua examples so
with luck the list of perfect Lua examples should rapidly increase in the
next little while.

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
__________________________

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to