[shark] 11/11: Run HDF5 testcase manually due to a bug upstream.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Feb 9 12:16:50 UTC 2016


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

ghisvail-guest pushed a commit to branch debian/sid
in repository shark.

commit 8d98c6300109737df0fb10e4896f55566f4d3fa9
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Feb 9 10:43:58 2016 +0000

    Run HDF5 testcase manually due to a bug upstream.
---
 debian/rules | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/rules b/debian/rules
index 7a805e3..b400be2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,6 +40,17 @@ override_dh_auto_configure-indep:
 		-DBUILD_EXAMPLES=ON \
 		-DOPT_INSTALL_DOCUMENTATION=ON
 
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	# Temporary override for buggy HDF5 testcase.
+	# See https://github.com/Shark-ML/Shark/issues/43
+	# Exclude HDF5 testcase from ctest.
+	CTEST_OUTPUT_ON_FAILURE=1 \
+	ctest --force-new-ctest-process -E "HDF5"
+	# Run HDF5 test executable manually.
+	cd obj-* && ./bin/Data_HDF5
+endif
+
 override_dh_installdocs-indep:
 	dh_installdocs --indep
 	dh_doxygen --indep \

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



More information about the debian-science-commits mailing list