[adios] 93/207: Do tests on little-endian only
Alastair McKinstry
mckinstry at moszumanska.debian.org
Fri Jun 12 06:04:43 UTC 2015
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch master
in repository adios.
commit fa45291d863febde9b78f0770bae1e62de36310d
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Fri Mar 28 18:53:32 2014 +0000
Do tests on little-endian only
---
debian/changelog | 6 ++++++
debian/rules | 32 +++++++++++++++++++++++---------
2 files changed, 29 insertions(+), 9 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0c70091..f36c742 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+adios (1.6.0-2) unstable; urgency=medium
+
+ * Disable tests on big-endian platforms due to upstream test bug.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Fri, 28 Mar 2014 18:38:22 +0000
+
adios (1.6.0-1) unstable; urgency=medium
* New upstream. Closes: #732276, #727312.
diff --git a/debian/rules b/debian/rules
index b000720..cb92e34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-#export DH_VERBOSE=1
+export DH_VERBOSE=1
# Cope with lam not providing mpicc.
include /usr/share/mpi-default-dev/debian_defaults
@@ -12,19 +12,30 @@ endif
ARCH:=$(shell dpkg --print-architecture)
WITH_LUSTRE :=
+DO_TEST:= true
-#ifeq ($(ARCH), i386)
+# Do tests on little-endian only for the moment;
+# lustre currently not provided in Debian sid
+
+ifeq ($(ARCH), i386)
# WITH_LUSTRE:= --with-lustre=/usr
-#endif
-#ifeq ($(ARCH), amd64)
+endif
+ifeq ($(ARCH), amd64)
# WITH_LUSTRE:= --with-lustre=/usr
-#endif
-#ifeq ($(ARCH), powerpc)
+endif
+ifeq ($(ARCH), powerpc)
# WITH_LUSTRE:= --with-lustre=/usr
-#endif
-#ifeq ($(ARCH), ia64)
+ DO_TEST:= false
+endif
+ifeq ($(ARCH), ia64)
# WITH_LUSTRE:= --with-lustre=/usr
-#endif
+endif
+ifeq ($(ARCH), sparc)
+ DO_TEST:= false
+endif
+ifeq ($(ARCH), mips)
+ DO_TEST:= false
+endif
DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
@@ -58,6 +69,9 @@ override_dh_auto_install:
cp debian/adios_config $(BINDIR)/adios_config
# mv $(DESTDIR)/bin/xmlparser.py $(DESTDIR)/bin/xmlparser
+override_dh_auto_test:
+ $(DO_TEST) && $(MAKE) check
+
override_dh_installexamples:
dh_installexamples
find debian/libadios-dev/usr/share/doc/libadios-dev/examples/C -type f -exec chmod -x {} \;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/adios.git
More information about the debian-science-commits
mailing list