From: Saul Wold <sgw@linux.intel.com>
To: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 3/3] ofono: Enable test scripts by default
Date: Fri, 26 Jul 2013 11:52:57 -0700 [thread overview]
Message-ID: <51F2C589.7080706@linux.intel.com> (raw)
In-Reply-To: <1374842117-24504-4-git-send-email-jukka.rissanen@linux.intel.com>
On 07/26/2013 05:35 AM, Jukka Rissanen wrote:
> oFono test scripts are very useful so enable those by default.
>
> Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
> ---
> meta/recipes-connectivity/ofono/ofono.inc | 3 ++-
> meta/recipes-connectivity/ofono/ofono_1.12.bb | 3 ---
> 2 files changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc
> index d825496..c5bd4d0 100644
> --- a/meta/recipes-connectivity/ofono/ofono.inc
> +++ b/meta/recipes-connectivity/ofono/ofono.inc
> @@ -15,6 +15,7 @@ INITSCRIPT_PARAMS = "defaults 22"
> EXTRA_OECONF += "\
> ${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '--with-systemdunitdir=', d)} \
> ${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth', '--disable-bluetooth', d)} \
> + --enable-test \
> "
> SYSTEMD_SERVICE_${PN} = "ofono.service"
>
> @@ -30,5 +31,5 @@ PACKAGES =+ "${PN}-tests"
> RDEPENDS_${PN} += "dbus"
>
> FILES_${PN} += "${base_libdir}/udev ${systemd_unitdir}"
> -FILES_${PN}-tests = "${libdir}/ofono"
> +FILES_${PN}-tests = "${libdir}/${BPN}/test"
I think you should be using the ptest here instead of test and inherit
ptest, please see the ptest.bbclass.
I realize that this is not new code, but if we are going to changes this
we should use the new ptest mechanism.
Sau!
> RDEPENDS_${PN}-tests = "python python-pygobject python-dbus"
> diff --git a/meta/recipes-connectivity/ofono/ofono_1.12.bb b/meta/recipes-connectivity/ofono/ofono_1.12.bb
> index 32c8bc2..ad524a0 100644
> --- a/meta/recipes-connectivity/ofono/ofono_1.12.bb
> +++ b/meta/recipes-connectivity/ofono/ofono_1.12.bb
> @@ -12,7 +12,4 @@ PR = "r2"
> SRC_URI[md5sum] = "aa8924c0e8de3ec7ac5e41fe7df4cb99"
> SRC_URI[sha256sum] = "733b75bfd1b2a1925b6de532989c496b8ae17a746691120ef64cceb00b3ef751"
>
> -EXTRA_OECONF += "\
> - --enable-test \
> -"
> CFLAGS_append_libc-uclibc = " -D_GNU_SOURCE"
>
next prev parent reply other threads:[~2013-07-26 18:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-26 12:35 [PATCH 0/3] ofono fixes Jukka Rissanen
2013-07-26 12:35 ` [PATCH 1/3] ofono: Add systemd support Jukka Rissanen
2013-07-29 9:43 ` Muhammad Shakeel
2013-07-30 10:30 ` Jukka Rissanen
2013-07-30 14:37 ` Saul Wold
2013-07-26 12:35 ` [PATCH 2/3] ofono: Enable bluetooth automatically Jukka Rissanen
2013-07-26 12:35 ` [PATCH 3/3] ofono: Enable test scripts by default Jukka Rissanen
2013-07-26 18:52 ` Saul Wold [this message]
2013-07-29 6:51 ` Jukka Rissanen
2013-07-29 8:26 ` Burton, Ross
2013-07-26 15:43 ` [PATCH 0/3] ofono fixes Burton, Ross
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=51F2C589.7080706@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=jukka.rissanen@linux.intel.com \
--cc=openembedded-core@lists.openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.