[Pkg-octave-commit] [octave-msh] 02/03: d/p/skip-dolfin-tests.patch: New patch
Rafael Laboissiere
rafael at debian.org
Sat Sep 9 17:32:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
rafael pushed a commit to branch master
in repository octave-msh.
commit a9988b3b911a35b08b045e6b38923a7fefcfa3f2
Author: Rafael Laboissiere <rafael at debian.org>
Date: Sat Sep 9 14:28:21 2017 -0300
d/p/skip-dolfin-tests.patch: New patch
Skip the unit tests related to the dolfin library, avoiding the
package to FTBFS.
Git-Dch: Full
Closes: #874138
---
debian/patches/series | 1 +
debian/patches/skip-dolfin-tests.patch | 38 ++++++++++++++++++++++++++++++++++
2 files changed, 39 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 062a31e..7d3de8f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
configure-script-source.patch
continuation-lines.patch
+skip-dolfin-tests.patch
diff --git a/debian/patches/skip-dolfin-tests.patch b/debian/patches/skip-dolfin-tests.patch
new file mode 100644
index 0000000..0bbbe09
--- /dev/null
+++ b/debian/patches/skip-dolfin-tests.patch
@@ -0,0 +1,38 @@
+Description: Skip the unit tests related to the dolfin library
+Author: Rafael Laboissière <rafael at debian.org>
+Forwarded: not-needed
+Last-Update: 2017-09-09
+
+--- octave-msh-1.0.10.orig/src/mshm_dolfin_read.cc
++++ octave-msh-1.0.10/src/mshm_dolfin_read.cc
+@@ -148,7 +148,7 @@ with matrix fields (p,e,t).\n\
+
+
+ /*
+-%!test
++%!xtest
+ %! x = y = z = linspace (0, 1, 2);
+ %! msh = msh3m_structured_mesh (x, y, z, 1, [1 : 6]);
+ %! mshm_dolfin_write (msh, "msh");
+--- octave-msh-1.0.10.orig/src/mshm_dolfin_write.cc
++++ octave-msh-1.0.10/src/mshm_dolfin_write.cc
+@@ -318,7 +318,7 @@ with matrix fields (p,e,t).\n\
+ }
+
+ /*
+-%!test
++%!xtest
+ %! x = y = z = linspace (0, 1, 2);
+ %! msh = msh3m_structured_mesh (x, y, z, 1, [1 : 6]);
+ %! mshm_dolfin_write (msh, "msh");
+--- octave-msh-1.0.10.orig/src/mshm_refine.cc
++++ octave-msh-1.0.10/src/mshm_refine.cc
+@@ -434,7 +434,7 @@ the same structure as @var{mesh}\n\
+ %! title ('uniformly refined mesh');
+ */
+ /*
+-%!test
++%!xtest
+ %! x = y = linspace (0, 1, 2);
+ %! msh = msh2m_structured_mesh (x, y, 1, [1 : 4]);
+ %! msh.t (4, 2) = 2;
--
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-msh.git
More information about the Pkg-octave-commit
mailing list