From: Alan W. I. <ir...@be...> - 2013-11-15 13:14:45
|
On 2013-11-15 12:59+0100 Alexis Praga wrote: > Alan, > > At the moment, I'm only testing PLplot on a Fedora machine that is not my > personnal computer. > Therefore, I prefer not to install too many dependencies, as long as it > works. > > As for the tests, I could not figure how to run both interactive and > non-interactive in the build tree > prior to the install. Hi Alexis: Here is a quick overview without many details. cmake <various options including the install prefix> \ <path to top directory in source tree> Those options should include DBUILD_TEST=ON which is the bit I forgot to mention before. (Sorry about that.) After that, make test_noninteractive make test_interactive should just work in the build tree. Although they appear redundant with the tests you ran for the the installed examples tree, the conditions are quite different so you may get different results (see comments about that below). For the others here, to run the installed examples tests that Alexis just ran, do the following: make install mkdir <separate build directory for installed examples> cd <separate build directory for installed examples> cmake <no options> $prefix/share/plplot$version/examples make test_noninteractive make test_interactive > [...] I also ran the tests in the separated build directory with the installed > examples. However, after running the interactive > tests (and pressed "Enter" quite a few times), I was stuck with two plots > which I had to close, thus producing > an error in the output files (attached to this mail). > > Does that help you ? Yes it does! Clearly, everything is fine with your noninteractive test. (The standard example 22 difference is because we have not yet propagated a C improvement to that example to the other languages yet because we are still debating how else to improve that example). In constrast to your noninteractive tests, your interactive test shows a clear build-system issue for the Tcl component for the installed examples. So thanks very much for providing those interesting results. @Arjen: The explanation of that result is my horrible hack we have been discussing which distinguishes whether tkdemos.tcl has been sourced from a plserver environment or a wish environment depending on the location of the important pkgIndex.tcl file. I now realize that hack cannot possibly work in the installed examples tree because for that case that file is joint between Pltcl, Pltk, and Plplotter so it can only appear in one installed location. @Alexis: Fortunately, Arjen, who has much better Tcl skills than I do, is on the case, and should hopefully come up soon with a good alternative to my hack that will work in both build tree and installed examples tree. Try the build-tree version of the tests for now. They are currently working perfectly for me because of the hack which does work in that case. 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 __________________________ |