Package: python-openstacksdk
Version: 0.26.0-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu eoan ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * d/control: Enable autopkgtest-pkg-python testsuite.
  * d/rules: Run tests with OS_LOG_CAPTURE=true.

Thanks for considering the patch.


-- System Information:
Debian Release: buster/sid
  APT prefers eoan
  APT policy: (500, 'eoan')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.0.0-15-generic (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru python-openstacksdk-0.26.0/debian/control 
python-openstacksdk-0.26.0/debian/control
--- python-openstacksdk-0.26.0/debian/control   2019-03-23 17:52:20.000000000 
-0400
+++ python-openstacksdk-0.26.0/debian/control   2019-06-06 13:03:05.000000000 
-0400
@@ -48,6 +48,7 @@
 Vcs-Browser: https://salsa.debian.org/openstack-team/libs/python-openstacksdk
 Vcs-Git: https://salsa.debian.org/openstack-team/libs/python-openstacksdk.git
 Homepage: https://github.com/stackforge/python-openstacksdk
+Testsuite: autopkgtest-pkg-python
 
 Package: python-openstacksdk-doc
 Build-Profiles: <!nodoc>
diff -Nru python-openstacksdk-0.26.0/debian/rules 
python-openstacksdk-0.26.0/debian/rules
--- python-openstacksdk-0.26.0/debian/rules     2019-03-23 17:52:20.000000000 
-0400
+++ python-openstacksdk-0.26.0/debian/rules     2019-06-06 13:03:31.000000000 
-0400
@@ -16,8 +16,7 @@
 
 override_dh_auto_test:
 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
-       echo "Unit testing is taking forever and produces a 100MB+ log, so it's 
disabled..."
-       #pkgos-dh_auto_test --no-py2 
'openstack.tests.unit(?!(.*cloud.*|.*test_resource\.TestWaitForStatus.*))'
+       OS_LOG_CAPTURE=true pkgos-dh_auto_test --no-py2
 endif
 
 override_dh_sphinxdoc:

Reply via email to