[med-svn] [Git][med-team/toil][master] 4 commits: d/tests/run-unit-tests: fix typo.

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Tue Aug 22 14:50:22 BST 2023



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


Commits:
f9f3afdd by Michael R. Crusoe at 2023-08-22T15:13:36+02:00
d/tests/run-unit-tests: fix typo.

- - - - -
b5efe6d7 by Michael R. Crusoe at 2023-08-22T15:17:58+02:00
Added patch to the tests: only request a single core. Closes: #1031192

- - - - -
c20d87ca by Michael R. Crusoe at 2023-08-22T15:19:15+02:00
d/clean: remove docs/autoapi and another straggler. Closes: #1047298

- - - - -
b535c33e by Michael R. Crusoe at 2023-08-22T15:46:37+02:00
routine-update: Ready to upload to unstable

- - - - -


5 changed files:

- debian/changelog
- debian/clean
- + debian/patches/fewer_cores
- debian/patches/series
- debian/tests/run-unit-tests


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+toil (5.12.0-2) unstable; urgency=medium
+
+  * d/tests/run-unit-tests: fix typo.
+  * Added patch to the tests: only request a single core. Closes:
+    #1031192
+  * d/clean: remove docs/autoapi and another straggler. Closes: #1047298
+
+ -- Michael R. Crusoe <crusoe at debian.org>  Tue, 22 Aug 2023 15:46:37 +0200
+
 toil (5.12.0-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/clean
=====================================
@@ -12,3 +12,5 @@ src/toil/lib/__pycache__/
 src/toil/provisioners/__pycache__/
 src/toil/provisioners/aws/__pycache__/
 src/toil/test/__pycache__/
+docs/autoapi/
+src/toil/test/utils/ABCWorkflowDebug/ABC.txt


=====================================
debian/patches/fewer_cores
=====================================
@@ -0,0 +1,37 @@
+From: Michael R. Crusoe <crusoe at debian.org>
+Subject: Tests: only request a single core
+Bugs: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031192
+
+--- toil.orig/src/toil/test/src/helloWorldTest.py
++++ toil/src/toil/test/src/helloWorldTest.py
+@@ -24,7 +24,7 @@
+ 
+ class HelloWorld(Job):
+     def __init__(self):
+-        Job.__init__(self,  memory=100000, cores=2, disk="3G")
++        Job.__init__(self,  memory=100000, cores=1, disk="3G")
+ 
+     def run(self, fileStore):
+         fileID = self.addChildJobFn(childFn, cores=1, memory="1M", disk="3G").rv()
+--- toil.orig/src/toil/test/src/realtimeLoggerTest.py
++++ toil/src/toil/test/src/realtimeLoggerTest.py
+@@ -57,7 +57,7 @@
+ 
+ class LogTest(Job):
+     def __init__(self):
+-        Job.__init__(self, memory=100000, cores=2, disk='3G')
++        Job.__init__(self, memory=100000, cores=1, disk='3G')
+ 
+     def run(self, fileStore):
+         RealtimeLogger.info('This should be logged at info level')
+--- toil.orig/src/toil/test/src/userDefinedJobArgTypeTest.py
++++ toil/src/toil/test/src/userDefinedJobArgTypeTest.py
+@@ -59,7 +59,7 @@
+ 
+ class JobClass(Job):
+     def __init__(self, level, foo):
+-        Job.__init__(self, memory=100000, cores=2, disk="300M")
++        Job.__init__(self, memory=100000, cores=1, disk="300M")
+         self.level = level
+         self.foo = foo
+ 


=====================================
debian/patches/series
=====================================
@@ -7,3 +7,4 @@ skip_py_tes_dep
 atomic_copy_as_alternative.patch
 python3_in_doc.patch
 avoid_boto
+fewer_cores


=====================================
debian/tests/run-unit-tests
=====================================
@@ -17,7 +17,7 @@ TMPDIR=${HOME}/tmp TOIL_TEST_QUICK=True TOIL_SKIP_DOCKER=True python3 -m pytest
 	or testVirtualEnv or CleanWorkDirTest or CWLOnARMTest or WdlLanguageSpecWorkflowsTest \
 	or ToilWdlIntegrationTest or ToilWdlIntegrationTest or ToilDebugFileTest or WdlToilTest)" \
 	--ignore /usr/lib/python3/dist-packages/toil/test/cwl/cwlTest.py \
-	--ignore /usr/lib/python3/dist-packages/toil/test/wdl/wdltoil_test \
+	--ignore /usr/lib/python3/dist-packages/toil/test/wdl/wdltoil_test.py \
 	--ignore /usr/lib/python3/dist-packages/toil/test/lib/aws/test_s3.py \
 	--ignore /usr/lib/python3/dist-packages/toil/test/lib/aws/test_iam.py \
 	--ignore /usr/lib/python3/dist-packages/toil/test/provisioners/aws/awsProvisionerTest.py \



View it on GitLab: https://salsa.debian.org/med-team/toil/-/compare/6332a04075f52d6b8497ee303c69ea6a3693108e...b535c33ef1da1802916eb343819a05cfead327fc

-- 
View it on GitLab: https://salsa.debian.org/med-team/toil/-/compare/6332a04075f52d6b8497ee303c69ea6a3693108e...b535c33ef1da1802916eb343819a05cfead327fc
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/20230822/86055b9a/attachment-0001.htm>


More information about the debian-med-commit mailing list