Hi Alan:  I've looked at your updated instructions for running the 
perl/PDL tests.  I don't see any easy way to improve upon them.

I typically install plplot first (with no mention of perl/PDL) and then 
PDL (with no mention of plplot, so the older internal version of 
PDL::Graphics::PLplot is not installed) and finally install 
PDL::Graphics::PLplot.

At this point, if I want to run the perl/PDL examples from plplot, I would 
just go to the plplot/examples/perl directory in the plplot build area and 
run the perl scripts there manually.

Perhaps it would make sense to package these test files with 
PDL::Graphics::PLplot in addition to plplot/examples/perl?  There are 
several down-sides to this (mostly dual maintenance) but it would allow 
one to incorporate all the plplot tests with the 'make test' part of the 
PDL::Graphics::PLplot install.  One could even put md5sums of expected 
output files (maybe in xfig format or some other device that is most 
always available) in PDL::Graphics::PLplot so the test could be rated as 
definitively passing or failing.

Just a thought.

Thanks,

   Doug

dh...@ucar.edu
Software Engineer
UCAR - COSMIC, Tel. (303) 497-2611

On Sat, 30 Apr 2011, Douglas Hunt wrote:

> Hi Alan:  Thanks for incorporating my fixes so quickly!  I'm at home now and 
> can't look quickly at the updated build instructions for 
> PDL::Graphics::PLplot.  I'll take a look when I get to my office.
>
> Best Regards,
>
>  Doug Hunt
>
> On Fri, 29 Apr 2011, Alan W. Irwin wrote:
>
>> On 2011-04-29 16:27-0600 Doug Hunt wrote:
>>
>>>  Hi Alan:  I've just checked in a bunch of changes to the perl/PDL test
>>>  suite for plplot.  Now all perl/PDL examples match the C examples when 
>>> you
>>>  use PDL-Graphics-PLplot-0.55, which I just uploaded to CPAN.
>> 
>> Hi Doug:
>> 
>> I appropriately changed our build/test system (as of revision 11735)
>> to be consistent with PDL-Graphics-PLplot-0.55 and your example
>> updates.
>> 
>> Here are the diff results that can now be obtained from the
>> test_diff_psc target in the build tree:
>> 
>> perl
>>   Missing examples            :
>>   Differing postscript output :
>>   Missing stdout              :
>>   Differing stdout            :
>> 
>> These perfect standard test results confirm the perfect results you have
>> obtained using alternative means, and this means all our languages now
>> have perfect diff results for the first time ever. (YES!!!)
>> 
>> We now enable testing of the Perl/PDL examples by default, but we turn
>> off that testing unless PDL-Graphics-PLplot-0.55 (or later) is
>> installed since trying to do limited testing of any prior version of
>> PDL-Graphics-PLplot just isn't worth it any more.
>> 
>> Please take a look at examples/perl/README.perldemos which I have now
>> modified to be consistent with PDL-Graphics-PLplot-0.55.  Those
>> updated instructions are slightly simpler than before (a patch for
>> PDL-Graphics-PLplot is no longer required) but the
>> PDL-Graphics-PLplot-0.55 build and install still remains rather
>> complicated.  Did you have to go through all those steps yourself, or
>> is there a simpler way to build and install PDL-Graphics-PLplot-0.55
>> that I am unaware of?
>> 
>> The above perfect Perl/PDL diff results have been made possible by
>> your effort to bring PDL-Graphics-PLplot and the Perl/PDL examples
>> into consistency with the latest PLplot.  Thanks for that effort!
>> 
>> 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
>> __________________________
>> 
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to