Package: zvmcloudconnector Version: 1.4.1-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/rules: Enable unit test execution during package build. Thanks for considering the patch. -- System Information: Debian Release: buster/sid APT prefers eoan APT policy: (500, 'eoan') Architecture: amd64 (x86_64) Kernel: Linux 5.3.0-18-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 zvmcloudconnector-1.4.1/debian/rules zvmcloudconnector-1.4.1/debian/rules --- zvmcloudconnector-1.4.1/debian/rules 2019-09-23 08:08:53.000000000 -0400 +++ zvmcloudconnector-1.4.1/debian/rules 2019-10-16 16:26:20.000000000 -0400 @@ -35,10 +35,9 @@ override_dh_auto_test: ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) - # NOTE(coreycb): Currently there are only unit tests for the smutLayer - # https://bugs.launchpad.net/bugs/1787611 - @echo "===> Disabled tests" -# set -e ; for pyvers in $(PYTHON3S); do \ -# PYTHONPATH=. PYTHON=python$$pyvers python$$pyvers -m unittest discover -v ; \ -# done + @echo "===> Running tests" + set -e ; for pyvers in $(PYTHON3S); do \ + PYTHONPATH=. PYTHON=python$$pyvers python$$pyvers -m unittest discover -v -s $(CURDIR)/zvmsdk/tests/unit; \ + PYTHONPATH=. PYTHON=python$$pyvers python$$pyvers -m unittest discover -v -s $(CURDIR)/smutLayer/tests/unit; \ + done endif