Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ros/ament_copyright/
Date: Tue, 25 Aug 2020 12:37:45
Message-Id: 1598359040.eeee06601f6b5c557165300d61c1c71e45bdc579.aballier@gentoo
1 commit: eeee06601f6b5c557165300d61c1c71e45bdc579
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 24 14:15:43 2020 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 25 12:37:20 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeee0660
7
8 dev-ros/ament_copyright: fix tests
9
10 Closes: https://bugs.gentoo.org/738496
11 Package-Manager: Portage-3.0.3, Repoman-3.0.0
12 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
13
14 dev-ros/ament_copyright/ament_copyright-0.9.5.ebuild | 5 +++++
15 dev-ros/ament_copyright/ament_copyright-9999.ebuild | 5 +++++
16 2 files changed, 10 insertions(+)
17
18 diff --git a/dev-ros/ament_copyright/ament_copyright-0.9.5.ebuild b/dev-ros/ament_copyright/ament_copyright-0.9.5.ebuild
19 index 42c7cdda03b..900785c148d 100644
20 --- a/dev-ros/ament_copyright/ament_copyright-0.9.5.ebuild
21 +++ b/dev-ros/ament_copyright/ament_copyright-0.9.5.ebuild
22 @@ -44,3 +44,8 @@ DEPEND="${RDEPEND}
23 BDEPEND=""
24
25 distutils_enable_tests pytest
26 +
27 +python_test() {
28 + distutils_install_for_testing
29 + pytest -vv || die "Tests failed with ${EPYTHON}"
30 +}
31
32 diff --git a/dev-ros/ament_copyright/ament_copyright-9999.ebuild b/dev-ros/ament_copyright/ament_copyright-9999.ebuild
33 index 42c7cdda03b..900785c148d 100644
34 --- a/dev-ros/ament_copyright/ament_copyright-9999.ebuild
35 +++ b/dev-ros/ament_copyright/ament_copyright-9999.ebuild
36 @@ -44,3 +44,8 @@ DEPEND="${RDEPEND}
37 BDEPEND=""
38
39 distutils_enable_tests pytest
40 +
41 +python_test() {
42 + distutils_install_for_testing
43 + pytest -vv || die "Tests failed with ${EPYTHON}"
44 +}