[sdformat] 01/01: Define LC_ALL=POSIX for the test suite
Jose Luis Rivero
jrivero-guest at moszumanska.debian.org
Sun Jun 22 18:14:51 UTC 2014
This is an automated email from the git hooks/post-receive script.
jrivero-guest pushed a commit to branch master
in repository sdformat.
commit 31b98a58d2168c5c0940d065006d621ddb1a2920
Author: Jose Luis Rivero <jrivero at osrfoundation.org>
Date: Sun Jun 22 20:08:18 2014 +0200
Define LC_ALL=POSIX for the test suite
The test suite is known to have problems if LC_ALL is not defined
or a locale is not present.
---
debian/rules | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/debian/rules b/debian/rules
index ee2507b..bb2c4e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,11 +5,10 @@
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
-DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
-
.PHONY: override_dh_auto_configure \
override_dh_auto_build-indep \
- override_dh_strip
+ override_dh_strip \
+ override_dh_auto_test:
%:
dh $@ --parallel
@@ -23,12 +22,8 @@ override_dh_auto_configure:
override_dh_auto_build-indep:
dh_auto_build -- doc # Generate documentation.
-# Test suite is only able to run on amd64
-# Still needs debugging
-ifneq ($(DEB_BUILD_ARCH), amd64)
override_dh_auto_test:
- true
-endif
-
+ LC_ALL=POSIX dh_auto_test
+
override_dh_strip:
dh_strip -a --dbg-package=libsdformat2-dbg
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sdformat.git
More information about the debian-science-commits
mailing list