From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] support/testing/: change python-gobject to use prebuilt kernel
Date: Sun, 22 Mar 2020 15:12:44 +0100 [thread overview]
Message-ID: <20200322151244.0cab0e9e@windsurf.home> (raw)
In-Reply-To: <20200316153459.2291931-1-aduskett@gmail.com>
Hello Adam,
On Mon, 16 Mar 2020 08:34:59 -0700
aduskett at gmail.com wrote:
> From: Adam Duskett <Aduskett@gmail.com>
>
> This change significantly reduces the ammount of time needed to run the
> test.
>
> Select a cortext_a9 and a external linaro toolchain due to the need for a
cortext -> cortex
> glibc based toolchain, as the default TestPythonPackageBase.config toolchain
> is a uClibc toolchain.
>
> Signed-off-by: Adam Duskett <Aduskett@gmail.com>
The idea is good, but I have some comment below.
> diff --git a/support/testing/tests/package/test_python_gobject.py b/support/testing/tests/package/test_python_gobject.py
> index a673d554a4..cf10e9ff67 100644
> --- a/support/testing/tests/package/test_python_gobject.py
> +++ b/support/testing/tests/package/test_python_gobject.py
> @@ -3,31 +3,24 @@ from tests.package.test_python import TestPythonPackageBase
>
> class TestPythonPy3Gobject(TestPythonPackageBase):
> __test__ = True
> - config = \
> + config = TestPythonPackageBase.config + \
I don't think it makes much sense to re-use
TestPythonPackageBase.config. Indeed, what is does is:
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
"""
BR2_TARGET_ROOTFS_CPIO=y
# BR2_TARGET_ROOTFS_TAR is not set
"""
and infra.basetest.BASIC_TOOLCHAIN_CONFIG only defines the toolchain
options.
So could instead just use a configuration that is completely defined
here ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2020-03-22 14:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-16 15:34 [Buildroot] [PATCH 1/1] support/testing/: change python-gobject to use prebuilt kernel aduskett at gmail.com
2020-03-22 14:12 ` Thomas Petazzoni [this message]
2020-03-22 14:28 ` Yann E. MORIN
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=20200322151244.0cab0e9e@windsurf.home \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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