On 2017-02-25 Andreas Metzler <[email protected]> wrote: > On 2016-04-28 "Robert S. Maier" <[email protected]> wrote: [...] > > (This numerical bug > > appears on some systems but not on others, for unknown reasons; so the > > easiest way to deal with it would be to modify the test script > > `spline.test', to ignore the first and last lines when comparing spline.out > > with spline.xout.)
For the time being I will wor around this as per your suggestion. Patch attached. cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'
Description: Work around i386 testsuite error Author: Andreas Metzler <[email protected]> Origin: vendor Bug: http://lists.gnu.org/archive/html/bug-plotutils/2017-02/msg00001.html Bug-Debian: https://bugs.debian.org/856134 Forwarded: no Last-Update: 2017-02-25 --- a/test/spline.test +++ b/test/spline.test @@ -3,12 +3,21 @@ echo 0 1 0.5 0.75 -0.25 0 | ../spline/spline -a -T 1 -n 120 \ --precision 5 -p >spline.out +# Work around testsuite error +# http://lists.gnu.org/archive/html/bug-plotutils/2016-04/msg00000.html +# # work around line end problems in installations with DJGPP under DOS -tr -d '\015' < spline.out > spline.dos +tr -d '\015' < spline.out \ + | head -n 120 | tail -n 119 \ + > spline.dos -if cmp -s $SRCDIR/spline.xout spline.dos +# cannot patch spline.xout, it is used as input for graph.test. +head -n 120 $SRCDIR/spline.xout | tail -n 119 > spline.xout.4comp + +if cmp -s spline.xout.4comp spline.dos then retval=0; else retval=1; fi; +rm -f spline.xout.4comp exit $retval
_______________________________________________ Bug-plotutils mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-plotutils
