[med-svn] [Git][med-team/python-cutadapt][master] 3 commits: Add autopkgtest-pkg-pybuild testsuite
Lance Lin (@linqigang)
gitlab at salsa.debian.org
Mon Sep 25 15:44:44 BST 2023
Lance Lin pushed to branch master at Debian Med / python-cutadapt
Commits:
95307fdd by Lance Lin at 2023-09-25T21:37:15+07:00
Add autopkgtest-pkg-pybuild testsuite
- - - - -
cfc6b7cf by Lance Lin at 2023-09-25T21:39:29+07:00
Removed, replaced with autopkgtest-pkg-pybuild to run build tests
- - - - -
9d85e18e by Lance Lin at 2023-09-25T21:40:18+07:00
Add check for PYBUILD_AUTOPKGTEST for skipped test
- - - - -
5 changed files:
- debian/changelog
- debian/control
- debian/rules
- − debian/tests/control
- − debian/tests/run-unit-test
Changes:
=====================================
debian/changelog
=====================================
@@ -2,14 +2,13 @@ python-cutadapt (4.4-1) UNRELEASED; urgency=medium
* Team upload.
* New upstream version
- * d/rules: Clean info.c and _kmer_finder.c (Closes: #1045930) and add test to
- skip during build-time, test_run_cutadapt_process
+ * d/rules: Clean info.c and _kmer_finder.c (Closes: #1045930), add test to
+ skip during build-time, test_run_cutadapt_process, and add check for
+ PYBUILD_AUTOPKGTEST for skipped test
* d/copyright: Update year to 2023 for debian/* files
- * d/control: Update homepage, remove autopkgtest-pkg-python testsuite, and
- add pybuild-plugin-pyproject to Build-Depends
- * d/tests/control: Remove restriction for allow-stderr
- * d/tests/run-unit-test: Test on supported python versions and no redirection
- to /dev/null
+ * d/control: Update homepage, replace autopkgtest-pkg-python testsuite with
+ autopkgtest-pkg-pybuild, and pybuild-plugin-pyproject to Build-Depends
+ * d/tests: Removed, replaced with autopkgtest-pkg-pybuild to run build tests
* d/patches/xfail_cutadapt_executable_test.patch: Remove patch so that test
is run during autopkgtest
* d/patches/Update__kmer_finder.pyx_to_always_use_a_64-bit_integer.patch:
=====================================
debian/control
=====================================
@@ -22,6 +22,7 @@ Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/med-team/python-cutadapt
Vcs-Git: https://salsa.debian.org/med-team/python-cutadapt.git
Homepage: https://cutadapt.readthedocs.io/
+Testsuite: autopkgtest-pkg-pybuild
Rules-Requires-Root: no
Package: python3-cutadapt
=====================================
debian/rules
=====================================
@@ -5,8 +5,10 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+ifneq ($(PYBUILD_AUTOPKGTEST),1)
# Deselect test since executables are not available before installation
export PYBUILD_TEST_ARGS=-k 'not test_run_cutadapt_process'
+endif
ifneq (,$(filter $(DEB_BUILD_ARCH),i386))
export DEB_CFLAGS_MAINT_APPEND += -ffloat-store
=====================================
debian/tests/control deleted
=====================================
@@ -1,2 +0,0 @@
-Tests: run-unit-test
-Depends: @, python3-all, python3-pytest, python3-pytest-timeout, python3-pytest-mock
=====================================
debian/tests/run-unit-test deleted
=====================================
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-set -e
-
-for py in $(py3versions -s)
-do
- $py -m pytest -v
-done
View it on GitLab: https://salsa.debian.org/med-team/python-cutadapt/-/compare/52e7e12e2597e2d96fa5d79b162d77176b0ef884...9d85e18e1c72d2db84ce677d42c997a5fd61d5cd
--
View it on GitLab: https://salsa.debian.org/med-team/python-cutadapt/-/compare/52e7e12e2597e2d96fa5d79b162d77176b0ef884...9d85e18e1c72d2db84ce677d42c997a5fd61d5cd
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/20230925/d3661577/attachment-0001.htm>
More information about the debian-med-commit
mailing list