[med-svn] r22796 - trunk/packages/python-cogent/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Wed Sep 14 19:47:17 UTC 2016


Author: tille
Date: 2016-09-14 19:47:17 +0000 (Wed, 14 Sep 2016)
New Revision: 22796

Modified:
   trunk/packages/python-cogent/trunk/debian/changelog
   trunk/packages/python-cogent/trunk/debian/rules
Log:
Exclude some tests on some architectures


Modified: trunk/packages/python-cogent/trunk/debian/changelog
===================================================================
--- trunk/packages/python-cogent/trunk/debian/changelog	2016-09-14 19:46:22 UTC (rev 22795)
+++ trunk/packages/python-cogent/trunk/debian/changelog	2016-09-14 19:47:17 UTC (rev 22796)
@@ -1,6 +1,7 @@
 python-cogent (1.9-2) UNRELEASED; urgency=medium
 
   * Properly test fasttree
+  * Exclude some tests on some architectures
 
  -- Andreas Tille <tille at debian.org>  Wed, 14 Sep 2016 21:44:17 +0200
 

Modified: trunk/packages/python-cogent/trunk/debian/rules
===================================================================
--- trunk/packages/python-cogent/trunk/debian/rules	2016-09-14 19:46:22 UTC (rev 22795)
+++ trunk/packages/python-cogent/trunk/debian/rules	2016-09-14 19:47:17 UTC (rev 22796)
@@ -29,10 +29,15 @@
 FAIL_ON_PPC64_MIPS64EL := test_core.test_tree
 
 FAIL_ON_I386_TESTS := test_maths.test_stats.test_test \
-                      test_seqsim.test_sequence_generators
+                      test_seqsim.test_sequence_generators \
+                      test_seqsim.test_analysis
 
 FAIL_ON_PPC64_TESTS := test_app.test_util
 
+FAIL_ON_S390X_TESTS := test_maths.test_optimisers
+
+FAIL_ON_KFREEBSD_AMD64_TESTS := test_seqsim.test_analysis
+
 export PYBUILD_NAME=cogent
 PKG := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
 
@@ -87,11 +92,17 @@
 ifeq ($(BUILDARCH),ppc64)
 	for tst in $(FAIL_ON_PPC64_TESTS) ; do sed -i "/$${tst}/d" tests/alltests.py ; done
 endif
+ifeq ($(BUILDARCH),s390x)
+	for tst in $(FAIL_ON_S390X_TESTS) ; do sed -i "/$${tst}/d" tests/alltests.py ; done
+endif
 ifeq ($(BUILDARCH),$(filter $(BUILDARCH), i386 kfreebsd-i386))
 	for tst in $(FAIL_ON_I386_TESTS) ; do sed -i "/$${tst}/d" tests/alltests.py ; done
 endif
+ifeq ($(BUILDARCH),$(filter $(BUILDARCH), kfreebsd-amd64))
+	for tst in $(FAIL_ON_KFREEBSD_AMD64_TESTS) ; do sed -i "/$${tst}/d" tests/alltests.py ; done
 endif
-	BLASTMAT=/usr/share/ncbi/data/ $(CURDIR)/run_tests # --debug
+endif
+	BLASTMAT=/usr/share/ncbi/data/ RDP_JAR_PATH=/usr/share/java/rdp_classifier.jar $(CURDIR)/run_tests # --debug
 	# restore original tests file
 	mv tests/alltests.py~ tests/alltests.py
 	find tests -name "*.pyc" -delete




More information about the debian-med-commit mailing list