[Pkg-octave-commit] [octave-statistics] 04/05: d/p/xtests-in-grp2idx.patch: New patch
Rafael Laboissiere
rafael at debian.org
Sun Sep 3 21:38:50 UTC 2017
This is an automated email from the git hooks/post-receive script.
rafael pushed a commit to branch master
in repository octave-statistics.
commit 8574d62f49e5c22b8f572df2ca9ccd365bc8d59d
Author: Rafael Laboissiere <rafael at debian.org>
Date: Sun Sep 3 17:34:09 2017 -0300
d/p/xtests-in-grp2idx.patch: New patch
---
debian/patches/series | 1 +
debian/patches/xtests-in-grp2idx.patch | 26 ++++++++++++++++++++++++++
2 files changed, 27 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 9f61733..5e37daa 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
data-files-for-tests.diff
expose-tbl-delim-tests.patch
pval-in-ttest-unit-test.patch
+xtests-in-grp2idx.patch
diff --git a/debian/patches/xtests-in-grp2idx.patch b/debian/patches/xtests-in-grp2idx.patch
new file mode 100644
index 0000000..9ef0540
--- /dev/null
+++ b/debian/patches/xtests-in-grp2idx.patch
@@ -0,0 +1,26 @@
+Description: Use xtest in expected failing unit tests of grp2idx
+Author: Rafael Laboissière <rafael at debian.org>
+Forwarded: https://savannah.gnu.org/bugs/index.php?51928
+Last-Update: 2017-09-03
+
+--- octave-statistics-1.3.0.orig/inst/grp2idx.m
++++ octave-statistics-1.3.0/inst/grp2idx.m
+@@ -123,9 +123,15 @@ endfunction
+ ## option implemented. See code for code to uncomment once it is
+ ## implemented in core.
+ ## Test that order when handling strings is by order of appearance
+-%!assert (nthargout (1:3, @grp2idx, ["sci"; "oct"; "sci"; "oct"; "oct"]),
++
++%!xtest
++%! assert (nthargout (1:3, @grp2idx, ["sci"; "oct"; "sci"; "oct"; "oct"]),
+ %! {[1; 2; 1; 2; 2] {"sci"; "oct"} ["sci"; "oct"]});
+-%!assert (nthargout (1:3, @grp2idx, {"sci"; "oct"; "sci"; "oct"; "oct"}),
++
++%!xtest
++%! assert (nthargout (1:3, @grp2idx, {"sci"; "oct"; "sci"; "oct"; "oct"}),
+ %! {[1; 2; 1; 2; 2] {"sci"; "oct"} {"sci"; "oct"}});
+-%!assert (nthargout (1:3, @grp2idx, {"sa" "et" "et" "" "sa"}),
++
++%!xtest
++%! assert (nthargout (1:3, @grp2idx, {"sa" "et" "et" "" "sa"}),
+ %! {[1; 2; 2; NaN; 1] {"sa"; "et"} {"sa"; "et"}})
--
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-statistics.git
More information about the Pkg-octave-commit
mailing list