On 2009-02-08 21:46+0100 Werner Smekal wrote:

> Hi Alan,
>> I confirm that. I found identical qsastime_test results and identical x29
>> PostScript driver results for revision 9458 compared to previous on my 
>> Linux
>> (Debian testing) platform.
>> 
> I would propose a new test: if a change is done in the PLplot core and output 
> of examples changes as well the tests will not show this issue. So I would 
> propose that we run all examples now and save the ps files and upload them 
> somewhere. We should add another test to the tests, so if these "correct" 
> plots are found somewhere the C output is compared to these plots for 
> changes. So changes due to PLplot core coding would show up. If this changes 
> are deliberately we'll save a new set of plots. I wouldn't add theses plots 
> to the src packages, since this would only be needed for thoroughly testing 
> of  the library.  In addition, it would then also be possible to compare 
> results between the different platforms. So far we don't know if the Windows, 
> Mac OS X and Linux port produce the same output.

This is an excellent idea that has been proposed a number of times, but
concerns over rounding differences from one platform to the next have
stopped anybody actually implementing it up to now. However, if such
rounding issues proved to be a major issue, you could get around that by
using ndiff (a fuzzy diff) and setting the difference criterion equal to one
or two units in the last PostScript place.

ndiff can only be built and installed on Unix at the moment, but according
to the package INSTALL file it should be possible to build it for any
Windows environment where a POSIX-compliant shell (including AWK which is
mentioned especially) is available.  Currently, it is built using autotools.
I assume changing over to CMake would be required (and also straightforward
since it is a pretty small software package) to make the ndiff build
possible on Windows.

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
__________________________

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to