Hi Arjen: On 2013-11-13 16:32-0800 Alan W. Irwin wrote:
> The other issue I asked you to investigate still remains; the > incredible hack in tkdemos.tcl (and accompanying instructions in > examples/tk/README.tkdemos to make that incredible hack work) to > distinguish between the cases when tkdemos is sourced from a plserver > environment or a wish environment needs to be fixed. > > I have just (as of revison 12695) finished a comprehensive check of > Tcl and friends for PLplot using "make test_interactive" in the build > tree and all the additional tests mentioned in > examples/tcl/README.tcldemos and examples/tk/README.tkdemos. > Everything works except for some minor exceptions for the tclsh and > wish tests. The tclsh exception is example 14 errors out when it > attempts to start the second device. Wish has that exception and two > others; example 2 gives the error message > > Couldn't parse color 76 > > and example 24 gives the error message > > illegal number of colors in cmap0: red > > I have no idea what is causing those color issues. Will you be > willing to take a look at those? Note, that before you do the tclsh > and wish tests you should run the test_interactive AND all targets to > get all the required dependencies built that are required for the > tests. Those color issues are still there, but currently example 2 and example 4 are commented out in the configured wish_standard_examples script so that the script can complete without running into those issues. That has allowed me to automate all interactive Tcl and friends tests under the overall "test_interactive" target. To focus _just_ on Tcl and friends in the interests of speed I use the following cmake configuration: rm -rf /home/software/plplot_svn/HEAD/build_dir/* \ /home/software/plplot_svn/installcmake cd /home/software/plplot_svn/HEAD/build_dir cmake -DCMAKE_INSTALL_PREFIX=/home/software/plplot_svn/installcmake \ -DDEFAULT_NO_CAIRO_DEVICES=ON -DPLD_wxwidgets=OFF -DBUILD_TEST=ON \ -DDEFAULT_NO_BINDINGS=ON -DENABLE_tcl=ON -DENABLE_itcl=ON \ -DENABLE_tk=ON -DENABLE_itk=ON -DUSE_INCRTCL_VERSION_4=OFF \ ../plplot_allura >& cmake.out > All the above tests were for my system version (Debian wheezy) of > Tcl8.5 and friends. I just repeated all those tests using simply make test_noninteractive >& test_noninteractive.out make test_interactive >& test_interactive.out The captured output showed no errors, and I didn't notice any obvious rendering issues as the examples flew by. > I plan to repeat all these same tests for the > Tcl8.6 and friends that I have built. This just involved changing my PATH to point to the installed Tcl8.6 version of tclsh. Then repeat all the above steps exactly. The new version of tclsh pulled in the rest of the components that were consistent with Tcl8.6 (thanks to my recent PLplot build system upgrades). Those components included version 3 of Itcl and Itk (linked against Tcl/Tk8.6 and not linked against the system versions of those libraries), and version 4.0.1 of Iwidgets because of -DUSE_INCRTCL_VERSION_4=OFF above. (Note that option is OFF by default in any case so users will not need to specify -DUSE_INCRTCL_VERSION_4=OFF in order to assure they are dealing with version 3 of Itcl and friends.) The results were identical to the results above for the Tcl8.5 and friends system versions. So I am happy with that result and other would-be Tcl8.6 and PLplot users should be happy as well! More later on the -DUSE_INCRTCL_VERSION_4=ON case which proved to be much less boring than the above good results. :-) 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 __________________________ ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
