Description: Work around i386 testsuite error Author: Andreas Metzler Origin: vendor Bug: http://lists.gnu.org/archive/html/bug-plotutils/2017-02/msg00001.html Bug-Debian: https://bugs.debian.org/856134 Forwarded: http://lists.gnu.org/archive/html/bug-plotutils/2017-02/msg00002.html 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 x/refs/?id=ca3adf26072c759b198042ced866efc423dd4b97'>refslogtreecommitdiff
path: root/tests/opam.scm
AgeCommit message (Expand)Author
2020-01-17import: opam: Avoid uses of '@@' in tests....* guix/import/opam.scm (string-pat, multiline-string, list-pat) (dict, condition): Export. (opam-fetch): Add optional 'repository' parameter. (opam->guix-package): Add #:repository parameter and pass it to 'opam-fetch'. * tests/opam.scm ("opam->guix-package"): Remove use of 'mock' and pass TEST-REPO to 'opam->guix-package' instead. ("parse-strings", "parse-multiline-strings") ("parse-lists", "parse-dicts", "parse-conditions"): Remove uses of '@@', which are no longer needed. Ludovic Courtès
2019-09-07tests: opam: Fix input type in import test....* tests/opam.scm: Expect propagated-inputs instead of inputs. Julien Lepiller
2019-02-05import: opam: Fix conditions....* guix/import/opam.scm (condition-eq, condition-neq): The first argument can be empty. * tests/opam.scm: Add test case. Julien Lepiller
2018-12-17import: Update opam importer....* guix/import/opam.scm: Update importer for opam 2. * tests/opam.scm: Update tests for the opam 2 importer.