On 2010-05-11 11:43-0500 Geoffrey Furnish wrote: > Hi Alan, > > Alan W. Irwin writes: > > C++ and OCaml are perfect, and here is the status of the remaining > > non-perfect bindings: > > [...] > > tcl > > Missing examples : > > Differing postscript output : 19 21 28 > > Missing stdout : > > Differing stdout : 21 >
Hi Geoffrey: Since your question is of general interest to developers, I am posting my reply to the list. > I'm working on Tcl #19. I'm close to getting it straightened out, hope to > commit soon. > > Question: In my own comparisons between the C and Tcl examples, generated by > manual invocation of the various examples, I'm seeing that the psc output has > a timestamp in it. Does your script have a way of filtering that out? Can > you tell me how to observe how that part of this comparison works? To see exactly what scripts are being run, use VERBOSE=1, e.g., make VERBOSE=1 test_diff_psc >& make.out Once you have identified that the script is plplot_test/test_diff.sh(.in), then the answer quickly follows that "tail" is used to get rid of the date stamp before diff is used. Andrew, I believe it was your decision to use tail and diff. Did you consider the possibility of using cmp with the -i option instead? I do notice that the combination of tail and diff takes a noticeable length of time because of the huge number of files involved, but for platforms like Linux I suspect cmp would be considerably faster. 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 __________________________ ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel