public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/console_bridge/
Date: Thu, 23 Jul 2020 15:19:30 +0000 (UTC)	[thread overview]
Message-ID: <1595517530.af41c50a83aa42d3f8eeeb3368d03cca06528aca.aballier@gentoo> (raw)

commit:     af41c50a83aa42d3f8eeeb3368d03cca06528aca
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 23 12:05:01 2020 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Jul 23 15:18:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af41c50a

dev-libs/console_bridge: add tests

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 .../console_bridge/console_bridge-1.0.1.ebuild     | 22 ++++++++++++++++++++--
 dev-libs/console_bridge/console_bridge-9999.ebuild | 22 ++++++++++++++++++++--
 2 files changed, 40 insertions(+), 4 deletions(-)

diff --git a/dev-libs/console_bridge/console_bridge-1.0.1.ebuild b/dev-libs/console_bridge/console_bridge-1.0.1.ebuild
index 82bb72cef12..cc6b84d4565 100644
--- a/dev-libs/console_bridge/console_bridge-1.0.1.ebuild
+++ b/dev-libs/console_bridge/console_bridge-1.0.1.ebuild
@@ -9,7 +9,7 @@ if [ "${PV#9999}" != "${PV}" ] ; then
 	EGIT_REPO_URI="https://github.com/ros/console_bridge"
 fi
 
-inherit ${SCM} cmake multilib
+inherit ${SCM} cmake
 
 if [ "${PV#9999}" != "${PV}" ] ; then
 	KEYWORDS=""
@@ -23,7 +23,25 @@ DESCRIPTION="A ROS-independent package for logging into rosconsole/rosout"
 HOMEPAGE="http://wiki.ros.org/console_bridge"
 LICENSE="BSD"
 SLOT="0/1"
-IUSE=""
+IUSE="test"
 
 RDEPEND="dev-libs/boost:=[threads]"
 DEPEND="${RDEPEND}"
+BDEPEND="
+	test? (
+		net-misc/wget
+		dev-util/cppcheck
+	)
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_TESTING=$(usex test ON OFF)
+	)
+	cmake_src_configure
+}
+
+src_test() {
+	export AMENT_CPPCHECK_ALLOW_1_88=yes
+	cmake_src_test
+}

diff --git a/dev-libs/console_bridge/console_bridge-9999.ebuild b/dev-libs/console_bridge/console_bridge-9999.ebuild
index 82bb72cef12..cc6b84d4565 100644
--- a/dev-libs/console_bridge/console_bridge-9999.ebuild
+++ b/dev-libs/console_bridge/console_bridge-9999.ebuild
@@ -9,7 +9,7 @@ if [ "${PV#9999}" != "${PV}" ] ; then
 	EGIT_REPO_URI="https://github.com/ros/console_bridge"
 fi
 
-inherit ${SCM} cmake multilib
+inherit ${SCM} cmake
 
 if [ "${PV#9999}" != "${PV}" ] ; then
 	KEYWORDS=""
@@ -23,7 +23,25 @@ DESCRIPTION="A ROS-independent package for logging into rosconsole/rosout"
 HOMEPAGE="http://wiki.ros.org/console_bridge"
 LICENSE="BSD"
 SLOT="0/1"
-IUSE=""
+IUSE="test"
 
 RDEPEND="dev-libs/boost:=[threads]"
 DEPEND="${RDEPEND}"
+BDEPEND="
+	test? (
+		net-misc/wget
+		dev-util/cppcheck
+	)
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_TESTING=$(usex test ON OFF)
+	)
+	cmake_src_configure
+}
+
+src_test() {
+	export AMENT_CPPCHECK_ALLOW_1_88=yes
+	cmake_src_test
+}


             reply	other threads:[~2020-07-23 15:19 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-23 15:19 Alexis Ballier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-15 13:27 [gentoo-commits] repo/gentoo:master commit in: dev-libs/console_bridge/ Alexis Ballier
2020-08-17 12:53 Sam James
2020-07-27 16:01 Alexis Ballier
2020-07-27 16:01 Alexis Ballier
2020-07-27 13:19 Alexis Ballier
2020-07-23 15:19 Alexis Ballier
2020-07-23 15:19 Alexis Ballier
2019-12-11 15:26 Alexis Ballier
2019-12-11 15:26 Alexis Ballier
2019-01-15 10:46 Alexis Ballier
2019-01-08  8:54 Alexis Ballier
2018-07-17  7:08 Alexis Ballier
2017-05-06 22:20 David Seifert
2016-02-09  8:45 Alexis Ballier
2016-01-29 11:10 Alexis Ballier
2016-01-29 11:10 Alexis Ballier
2016-01-19 12:56 Alexis Ballier
2016-01-19 12:56 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1595517530.af41c50a83aa42d3f8eeeb3368d03cca06528aca.aballier@gentoo \
    --to=aballier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox