diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-08-24 16:15:43 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-08-25 14:37:20 +0200 |
commit | eeee06601f6b5c557165300d61c1c71e45bdc579 (patch) | |
tree | ec3d0f0d0eb2fd5aa24f28a2d684ab31952c3129 /dev-ros/ament_copyright | |
parent | dev-util/ninja: arm64 stable (bug #725152) (diff) | |
download | gentoo-eeee06601f6b5c557165300d61c1c71e45bdc579.tar.gz gentoo-eeee06601f6b5c557165300d61c1c71e45bdc579.tar.bz2 gentoo-eeee06601f6b5c557165300d61c1c71e45bdc579.zip |
dev-ros/ament_copyright: fix tests
Closes: https://bugs.gentoo.org/738496
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/ament_copyright')
-rw-r--r-- | dev-ros/ament_copyright/ament_copyright-0.9.5.ebuild | 5 | ||||
-rw-r--r-- | dev-ros/ament_copyright/ament_copyright-9999.ebuild | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/ament_copyright/ament_copyright-0.9.5.ebuild b/dev-ros/ament_copyright/ament_copyright-0.9.5.ebuild index 42c7cdda03b1..900785c148df 100644 --- a/dev-ros/ament_copyright/ament_copyright-0.9.5.ebuild +++ b/dev-ros/ament_copyright/ament_copyright-0.9.5.ebuild @@ -44,3 +44,8 @@ DEPEND="${RDEPEND} BDEPEND="" distutils_enable_tests pytest + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-ros/ament_copyright/ament_copyright-9999.ebuild b/dev-ros/ament_copyright/ament_copyright-9999.ebuild index 42c7cdda03b1..900785c148df 100644 --- a/dev-ros/ament_copyright/ament_copyright-9999.ebuild +++ b/dev-ros/ament_copyright/ament_copyright-9999.ebuild @@ -44,3 +44,8 @@ DEPEND="${RDEPEND} BDEPEND="" distutils_enable_tests pytest + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests failed with ${EPYTHON}" +} |