[dune-functions] 02/02: Skip tests on hybrid grids.

Ansgar Burchardt ansgar at moszumanska.debian.org
Wed Apr 6 18:07:42 UTC 2016


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

ansgar pushed a commit to branch master
in repository dune-functions.

commit 253e0a0bab4798b2f001375e1f15064b85e3a1e4
Author: Ansgar Burchardt <ansgar at debian.org>
Date:   Wed Apr 6 19:23:52 2016 +0200

    Skip tests on hybrid grids.
---
 debian/patches/series                  |  1 +
 debian/patches/skip-hybrid-tests.patch | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..92faa00
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+skip-hybrid-tests.patch
diff --git a/debian/patches/skip-hybrid-tests.patch b/debian/patches/skip-hybrid-tests.patch
new file mode 100644
index 0000000..dcf4876
--- /dev/null
+++ b/debian/patches/skip-hybrid-tests.patch
@@ -0,0 +1,19 @@
+From: Ansgar Burchardt <ansgar at debian.org>
+Date: Wed, 06 Apr 2016 19:21:33 +0200
+Subject: skip test on hybrid grids
+
+The hybrid grids are not installed by dune-grid 2.4.1 currently
+packaged in Debian. So the tests would fail when trying to load the
+grid.
+
+--- a/dune/functions/functionspacebases/test/gridviewfunctionspacebasistest.cc
++++ b/dune/functions/functionspacebases/test/gridviewfunctionspacebasistest.cc
+@@ -316,7 +316,7 @@
+ template <int dim>
+ void testOnHybridGrid()
+ {
+-#if ! HAVE_UG
++#if ! HAVE_UG || 1
+   std::cout << "   ---- Skipping test on hybrid " << dim << "d grid -- UGGrid is not installed ----" << std::endl;
+ #else
+   std::cout << "   +++++++++++  Testing on hybrid " << dim << "d grid  ++++++++++++" << std::endl;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/dune-functions.git



More information about the debian-science-commits mailing list