[emos] 03/08: Test of little-endian only
Alastair McKinstry
mckinstry at moszumanska.debian.org
Wed Oct 28 13:46:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch debian/master
in repository emos.
commit 8a8eb5fd9bc39c30758de44f848156146176f749
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Wed Oct 28 03:05:57 2015 +0000
Test of little-endian only
---
debian/changelog | 6 ++++++
debian/rules | 14 +++++++++++++-
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 10b9b3d..1c551e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+emoslib (2:4.1.1-4) unstable; urgency=medium
+
+ * Disable tests for big-endian systems (being worked on upstream)
+
+ -- Alastair McKinstry <mckinstry at debian.org> Wed, 28 Oct 2015 03:05:01 +0000
+
emoslib (2:4.1.1-3) experimental; urgency=medium
* Disable download of bufr tests
diff --git a/debian/rules b/debian/rules
index 368e26e..f41181e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,10 +12,21 @@ ARCH:=$(shell dpkg --print-architecture)
AUTOGENERATED:= libemos-dev.install libemos-dev.links libemos0d.install
LIBDIR:=/usr/lib/${DEB_HOST_MULTIARCH}
CMAKE_DIR:=debian/tmp/share/libemos/cmake
+DO_TEST:=true
+
+# Do tests on little-endian only for the moment;
+DO_TEST:= true
MCMODEL_FLAGS:=''
BUILD_FLAGS:=''
FPIC:= -fpic
+
+ifeq ($(ARCH), powerpc)
+ DO_TEST:= false
+endif
+ifeq ($(ARCH), mips)
+ DO_TEST:= false
+endif
ifeq ($(ARCH), amd64)
MCMODEL_FLAGS:= -mcmodel=medium
FPIC:= -fPIC
@@ -27,6 +38,7 @@ ifeq ($(ARCH), ppc64el)
endif
ifeq ($(ARCH), sparc)
FPIC:= -fPIC
+ DO_TEST:= false
endif
ifeq ($(ARCH), hurd-i386)
BUILD_FLAGS:= ' -D__GNU__'
@@ -35,7 +47,7 @@ endif
override_dh_auto_test:
# Need links for tests.
(cd bufrtables && sh ./links.sh)
- dh_auto_test
+ $(DO_TEST) && dh_auto_test || echo "Tests disabled on bigendian systems for the moment"
override_dh_auto_clean:
find bufrtables -type l -delete
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/emos.git
More information about the debian-science-commits
mailing list