[Pkg-octave-commit] [octave-interval] 01/01: Ignore results of fesetround BISTs

Oliver Heimlich oheim-guest at moszumanska.debian.org
Thu Dec 28 23:55:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

oheim-guest pushed a commit to branch master
in repository octave-interval.

commit 24ba78c715f2cc528532ae80500b081933c2aee4
Author: Oliver Heimlich <oheim at posteo.de>
Date:   Fri Dec 29 00:54:47 2017 +0100

    Ignore results of fesetround BISTs
    
    Global rounding-mode switches don't work on armel architecture and are not required by the package.
---
 debian/patches/ignore-fesetround-tests.patch | 32 ++++++++++++++++++++++++++++
 debian/patches/series                        |  3 ++-
 2 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/debian/patches/ignore-fesetround-tests.patch b/debian/patches/ignore-fesetround-tests.patch
new file mode 100644
index 0000000..bd9769a
--- /dev/null
+++ b/debian/patches/ignore-fesetround-tests.patch
@@ -0,0 +1,32 @@
+--- a/inst/test/__setround__.cc-tst
++++ b/inst/test/__setround__.cc-tst
+@@ -1,10 +1,10 @@
+ ## DO NOT EDIT!  Generated automatically from src/__setround__.cc
+-%!test
++%!xtest <Rounding-mode switches fail on your system; some matrix operations will be slower than expected>
+ %!  __setround__ (+inf);
+ %!  assert (1 + realmin > 1, true);
+ %!  assert (1 - realmin == 1, true);
+ %!  __setround__ (0.5);
+-%!test
++%!xtest <Rounding-mode switches fail on your system; some matrix operations will be slower than expected>
+ %!  __setround__ (-inf);
+ %!  assert (1 + realmin == 1, true);
+ %!  assert (1 - realmin < 1, true);
+--- a/src/__setround__.cc
++++ b/src/__setround__.cc
+@@ -72,12 +72,12 @@ DEFUN_DLD (__setround__, args, nargout,
+ }
+ 
+ /*
+-%!test
++%!xtest <Rounding-mode switches fail on your system; some matrix operations will be slower than expected>
+ %!  __setround__ (+inf);
+ %!  assert (1 + realmin > 1, true);
+ %!  assert (1 - realmin == 1, true);
+ %!  __setround__ (0.5);
+-%!test
++%!xtest <Rounding-mode switches fail on your system; some matrix operations will be slower than expected>
+ %!  __setround__ (-inf);
+ %!  assert (1 + realmin == 1, true);
+ %!  assert (1 - realmin < 1, true);
diff --git a/debian/patches/series b/debian/patches/series
index d72817b..8af875a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
-ignore-unreliable-tests.patch
\ No newline at end of file
+ignore-unreliable-tests.patch
+ignore-fesetround-tests.patch
\ No newline at end of file

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-interval.git



More information about the Pkg-octave-commit mailing list