[netcdf] 01/03: Enable tests, but disable parallel execution.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Oct 25 13:09:03 UTC 2015


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

sebastic pushed a commit to branch master
in repository netcdf.

commit 8b87d1a5c4503ce3ea48f881af0cfd66cc54678f
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Oct 25 10:16:15 2015 +0100

    Enable tests, but disable parallel execution.
---
 debian/changelog |  6 ++++++
 debian/rules     | 10 ++++++++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 32873d1..c34863a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+netcdf (1:4.4.0~rc3-1~exp2) UNRELEASED; urgency=medium
+
+  * Enable tests, but disable parallel execution.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 25 Oct 2015 10:16:15 +0100
+
 netcdf (1:4.4.0~rc3-1~exp1) experimental; urgency=medium
 
   * New upstream release candidate.
diff --git a/debian/rules b/debian/rules
index 3ba6f85..2d86399 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,18 +9,24 @@ HDF5_LIBRARY_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
 
 UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
 
+# Verbose test output
+export VERBOSE=1
+
 %:
 	dh $@ --buildsystem=cmake --parallel
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
-		-DCMAKE_SKIP_RPATH:BOOL=ON \
+		-DCMAKE_SKIP_RPATH:BOOL=OFF \
 		-DCMAKE_VERBOSE_MAKEFILE=1 \
-		-DENABLE_TESTS:BOOL=OFF \
+		-DENABLE_TESTS:BOOL=ON \
 		-DENABLE_DOXYGEN:BOOL=ON \
 		-DHDF5_INCLUDE_PATH=$(HDF5_INCLUDE_PATH) \
 		-DHDF5_LIBRARY_PATH=$(HDF5_LIBRARY_PATH)
 
+override_dh_auto_test:
+	ARGS="--output-on-failure" dh_auto_test --max-parallel=1 || echo "Ignoring test failures"
+
 override_dh_auto_install:
 	dh_auto_install
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/netcdf.git



More information about the Pkg-grass-devel mailing list