[Pkg-octave-commit] [octave-interval] 03/03: Ignore results of unreliable BISTs

Oliver Heimlich oheim-guest at moszumanska.debian.org
Thu Dec 28 23:43:47 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 a5788610b5f4bb426c5bc38145f03d9ffd106a17
Author: Oliver Heimlich <oheim at posteo.de>
Date:   Fri Dec 29 00:36:00 2017 +0100

    Ignore results of unreliable BISTs
---
 debian/patches/ignore-unreliable-tests.patch | 22 ++++++++++++++++++++++
 debian/patches/series                        |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/ignore-unreliable-tests.patch b/debian/patches/ignore-unreliable-tests.patch
new file mode 100644
index 0000000..a5866d1
--- /dev/null
+++ b/debian/patches/ignore-unreliable-tests.patch
@@ -0,0 +1,22 @@
+--- a/inst/test/mpfr_matrix_mul_d.cc-tst
++++ b/inst/test/mpfr_matrix_mul_d.cc-tst
+@@ -3,7 +3,7 @@
+ %!  [l, u] = mpfr_matrix_mul_d (magic (3), magic (3)', magic (3) + 1, magic (3)' + 1);
+ %!  assert (l, [101, 71, 53; 71, 83, 71; 53, 71, 101]);
+ %!  assert (u, [134, 104, 86; 104, 116, 104; 86, 104, 134]);
+-%!test;
++%!xtest <This test does not produce reliable results on busy environments>
+ %!  if (((exist ("__octave_config_info__") && ...
+ %!                __octave_config_info__.ENABLE_OPENMP) || ...
+ %!       (not (exist ("__octave_config_info__")) && ...
+--- a/src/mpfr_matrix_mul_d.cc
++++ b/src/mpfr_matrix_mul_d.cc
+@@ -155,7 +155,7 @@ DEFUN_DLD (mpfr_matrix_mul_d, args, nargout,
+ %!  assert (l, [101, 71, 53; 71, 83, 71; 53, 71, 101]);
+ %!  assert (u, [134, 104, 86; 104, 116, 104; 86, 104, 134]);
+ 
+-%!test;
++%!xtest <This test does not produce reliable results on busy environments>
+ %!  if (((exist ("__octave_config_info__") && ...
+ %!                __octave_config_info__.ENABLE_OPENMP) || ...
+ %!       (not (exist ("__octave_config_info__")) && ...
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d72817b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+ignore-unreliable-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