[med-svn] [Git][med-team/macs][master] 3 commits: Run even more tests

Michael R. Crusoe gitlab at salsa.debian.org
Fri Dec 20 21:28:04 GMT 2019



Michael R. Crusoe pushed to branch master at Debian Med / macs


Commits:
6e58c6f5 by Michael R. Crusoe at 2019-12-20T19:31:01Z
Run even more tests

- - - - -
79190d38 by Michael R. Crusoe at 2019-12-20T21:15:52Z
fix test failure

- - - - -
bb2bd676 by Michael R. Crusoe at 2019-12-20T21:24:27Z
2.2.6-2

- - - - -


7 changed files:

- debian/changelog
- debian/clean
- debian/control
- + debian/patches/fix_test_signal_failures
- debian/patches/series
- debian/patches/spelling
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+macs (2.2.6-2) unstable; urgency=medium
+
+  * Run even more tests.
+  * Patch from upstream to fix test that fails with Python 3.8.1rc1+
+
+ -- Michael R. Crusoe <michael.crusoe at gmail.com>  Fri, 20 Dec 2019 13:24:14 -0800
+
 macs (2.2.6-1) unstable; urgency=medium
 
   [ Andreas Tille ]


=====================================
debian/clean
=====================================
@@ -1 +1 @@
-.pytest_cache
+.pytest_cache/


=====================================
debian/control
=====================================
@@ -10,7 +10,8 @@ Build-Depends: debhelper-compat (= 12),
                python3-numpy,
                python3-setuptools,
                python3-pytest,
-               help2man
+               help2man,
+               procps
 Standards-Version: 4.4.1
 Vcs-Browser: https://salsa.debian.org/med-team/macs
 Vcs-Git: https://salsa.debian.org/med-team/macs.git


=====================================
debian/patches/fix_test_signal_failures
=====================================
The diff for this file was not included because it is too large.

=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 spelling
+fix_test_signal_failures


=====================================
debian/patches/spelling
=====================================
@@ -1,8 +1,8 @@
 From: Michael R. Crusoe <michael.crusoe at gmail.com>
 Subject: typo fix
---- a/MACS2/IO/CallPeakUnit.pyx
-+++ b/MACS2/IO/CallPeakUnit.pyx
-@@ -413,7 +413,7 @@ cdef class CallerFromAlignments:
+--- macs.orig/MACS2/IO/CallPeakUnit.pyx
++++ macs/MACS2/IO/CallPeakUnit.pyx
+@@ -435,7 +435,7 @@
          self.cutoff_analysis_filename = cutoff_analysis_filename.encode()
  
      cpdef destroy ( self ):


=====================================
debian/rules
=====================================
@@ -30,6 +30,16 @@ override_dh_auto_build:
 		"python3 bin/macs2 $${subcommand}" > \
 		debian/macs2_$${subcommand}.1; done
 
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	dh_auto_test
+	cd test && for PY3VER in $(shell py3versions -vs); do \
+	export PATH=$(CURDIR)/build/scripts-$${PY3VER}:$$PATH \
+		&& export PYTHONPATH=$(CURDIR)/.pybuild/cpython3_$${PY3VER}_MACS2/build \
+		&& ./cmdlinetest macs$(DEB_VERSION)-$${PY3VER} ; done
+endif
+
 override_dh_auto_clean:
 	dh_auto_clean
+	rm -Rf test/macs$(DEB_VERSION)* test/speedtest*
 	rm -f debian/*.1 debian/*-man-include



View it on GitLab: https://salsa.debian.org/med-team/macs/compare/52690ccfc926aafc8f987dae1e00393aeee7e86d...bb2bd676c6b8b2dc7d1eaa278e76d52f3a69a35f

-- 
View it on GitLab: https://salsa.debian.org/med-team/macs/compare/52690ccfc926aafc8f987dae1e00393aeee7e86d...bb2bd676c6b8b2dc7d1eaa278e76d52f3a69a35f
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20191220/c8333df7/attachment-0001.html>


More information about the debian-med-commit mailing list