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


Commits:
274ed606 by Michael R. Crusoe at 2025-01-30T10:58:56+01:00
d/rules: use DEB_BUILD_OPTION_PARALLEL instead of "auto" for setting the amount 
of parallel testing.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -11,6 +11,8 @@ toil (7.0.0-1) UNRELEASED; urgency=medium
     proxy configuration.
   * d/rules: skip online tests
   * d/patches/setting_version.patch: update for Python 3.12
+  * d/rules: use DEB_BUILD_OPTION_PARALLEL instead of "auto" for setting
+    the amount of parallel testing.
 
   [ Andreas Tille ]
   * Fix Python3.12 string syntax


=====================================
debian/rules
=====================================
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE = 1
 
+include /usr/share/dpkg/default.mk
 export PYBUILD_NAME=toil
 
 export PYBUILD_DESTDIR_python3=debian/toil/
@@ -23,7 +24,7 @@ override_dh_auto_install:
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        PYBUILD_SYSTEM=custom \
-               PYBUILD_TEST_ARGS='TOIL_SKIP_ONLINE=true HOME={home_dir} 
{interpreter} setup.py develop --user && PYTHONPATH={dir}/src:$$PYTHONPATH 
PATH={home_dir}/.local/bin/:$$PATH TOIL_TEST_QUICK=True TOIL_SKIP_DOCKER=True 
{interpreter} -m pytest -n auto --dist loadscope -vv -W ignore --ignore 
src/toil/test/lib/aws/test_s3.py --ignore 
src/toil/test/provisioners/aws/awsProvisionerTest.py --ignore 
src/toil/test/wdl/wdltoil_test.py --ignore src/toil/test/cwl/cwlTest.py 
--ignore src/toil/test/src/promisedRequirementTest.py --ignore 
src/toil/test/lib/test_ec2.py --ignore 
src/toil/test/batchSystems/batchSystemTest.py --ignore 
src/toil/test/lib/aws/test_iam.py --ignore  
src/toil/test/provisioners/clusterTest.py --ignore 
src/toil/test/wdl/wdltoil_test_kubernetes.py --ignore 
src/toil/test/cactus/test_cactus_integration.py -k "not (test_bioconda or 
test_run_conformance or testImportFtpFile or ToilWdlIntegrationTest or SortTest 
or testCwlexample or testVirtualEnv or ToilDocumentationTest or 
test_cwl_toil_kill or testImportReadFileCompatibility or CleanWorkDirTest or 
DeferredFunctionTest or WdlToilTest or ToilKillTestWithAWSJobStore)" 
{dir}/src/toil/test' \
+               PYBUILD_TEST_ARGS='TOIL_SKIP_ONLINE=true HOME={home_dir} 
{interpreter} setup.py develop --user && PYTHONPATH={dir}/src:$$PYTHONPATH 
PATH={home_dir}/.local/bin/:$$PATH TOIL_TEST_QUICK=True TOIL_SKIP_DOCKER=True 
{interpreter} -m pytest $(DEB_BUILD_OPTION_PARALLEL:%=-n %) --dist loadscope 
-vv -W ignore --ignore src/toil/test/lib/aws/test_s3.py --ignore 
src/toil/test/provisioners/aws/awsProvisionerTest.py --ignore 
src/toil/test/wdl/wdltoil_test.py --ignore src/toil/test/cwl/cwlTest.py 
--ignore src/toil/test/src/promisedRequirementTest.py --ignore 
src/toil/test/lib/test_ec2.py --ignore 
src/toil/test/batchSystems/batchSystemTest.py --ignore 
src/toil/test/lib/aws/test_iam.py --ignore  
src/toil/test/provisioners/clusterTest.py --ignore 
src/toil/test/wdl/wdltoil_test_kubernetes.py --ignore 
src/toil/test/cactus/test_cactus_integration.py -k "not (test_bioconda or 
test_run_conformance or testImportFtpFile or ToilWdlIntegrationTest or SortTest 
or testCwlexample or testVirtualEnv or ToilDocumentationTest or 
test_cwl_toil_kill or testImportReadFileCompatibility or CleanWorkDirTest or 
DeferredFunctionTest or WdlToilTest or ToilKillTestWithAWSJobStore)" 
{dir}/src/toil/test' \
                dh_auto_test
 endif
 



View it on GitLab: 
https://salsa.debian.org/med-team/toil/-/commit/274ed606059d0fa73e38c9dfca4ad1bb5f8d0ab1

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/toil/-/commit/274ed606059d0fa73e38c9dfca4ad1bb5f8d0ab1
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to