From: Steve Sakoman <steve@sakoman.com>
To: openembedded-core@lists.openembedded.org
Subject: [OE-core][kirkstone 08/16] oeqa/selftest/recipetool: expect meson.bb
Date: Tue, 27 Feb 2024 11:56:55 -1000 [thread overview]
Message-ID: <979b216330b2f4e8ab9d4e615d4e83997d59def0.1709070850.git.steve@sakoman.com> (raw)
In-Reply-To: <cover.1709070850.git.steve@sakoman.com>
From: Adrian Freihofer <adrian.freihofer@gmail.com>
Latest recipetool from master branch generates a pyhton3-meson.bb recipe
while the older version from kirkstone generates a meson.bb. Change the
test to pass with meson.bb.
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/lib/oeqa/selftest/cases/recipetool.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py
index c888770533..a2d8d292ad 100644
--- a/meta/lib/oeqa/selftest/cases/recipetool.py
+++ b/meta/lib/oeqa/selftest/cases/recipetool.py
@@ -444,7 +444,7 @@ class RecipetoolCreateTests(RecipetoolBase):
# older release of Meson at present so we don't need a toml parser.
temprecipe = os.path.join(self.tempdir, 'recipe')
os.makedirs(temprecipe)
- recipefile = os.path.join(temprecipe, 'python3-meson_git.bb')
+ recipefile = os.path.join(temprecipe, 'meson_git.bb')
srcuri = 'https://github.com/mesonbuild/meson;rev=0.52.1'
cmd = ['recipetool', 'create', '-o', temprecipe, srcuri]
result = runCmd(cmd)
@@ -480,7 +480,7 @@ class RecipetoolCreateTests(RecipetoolBase):
temprecipe = os.path.join(self.tempdir, 'recipe')
os.makedirs(temprecipe)
pv = '0.52.1'
- recipefile = os.path.join(temprecipe, 'python3-meson_%s.bb' % pv)
+ recipefile = os.path.join(temprecipe, 'meson_%s.bb' % pv)
srcuri = 'https://github.com/mesonbuild/meson/releases/download/%s/meson-%s.tar.gz' % (pv, pv)
result = runCmd('recipetool create -o %s %s' % (temprecipe, srcuri))
self.assertTrue(os.path.isfile(recipefile))
--
2.34.1
next prev parent reply other threads:[~2024-02-27 21:57 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-27 21:56 [OE-core][kirkstone 00/16] Patch review Steve Sakoman
2024-02-27 21:56 ` [OE-core][kirkstone 01/16] recipetool/create_buildsys_python: use importlib instead of imp Steve Sakoman
2024-02-27 21:56 ` [OE-core][kirkstone 02/16] scripts/runqemu: fix regex escape sequences Steve Sakoman
2024-02-27 21:56 ` [OE-core][kirkstone 03/16] populate_sdk_ext: use ConfigParser instead of SafeConfigParser Steve Sakoman
2024-02-27 21:56 ` [OE-core][kirkstone 04/16] runqemu: add qmp socket support Steve Sakoman
2024-02-27 21:56 ` [OE-core][kirkstone 05/16] oeqa: replace deprecated assertEquals Steve Sakoman
2024-02-27 21:56 ` [OE-core][kirkstone 06/16] oeqa/selftest/recipetool: fix for python 3.12 Steve Sakoman
2024-02-27 21:56 ` [OE-core][kirkstone 07/16] oeqa/selftest/recipetool: downgrade meson version to not use pyproject.toml Steve Sakoman
2024-02-27 21:56 ` Steve Sakoman [this message]
2024-02-27 21:56 ` [OE-core][kirkstone 09/16] oeqa/selftest/oelib/buildhistory: git default branch Steve Sakoman
2024-02-27 21:56 ` [OE-core][kirkstone 10/16] feature-microblaze-versions.inc: python 3.12 regex Steve Sakoman
2024-02-27 21:56 ` [OE-core][kirkstone 11/16] meta/lib/oeqa: " Steve Sakoman
2024-02-27 21:56 ` [OE-core][kirkstone 12/16] meta/recipes: " Steve Sakoman
2024-02-27 21:57 ` [OE-core][kirkstone 13/16] scripts: " Steve Sakoman
2024-02-27 21:57 ` [OE-core][kirkstone 14/16] kernel.bbclass: introduce KERNEL_LOCALVERSION Steve Sakoman
2024-02-27 21:57 ` [OE-core][kirkstone 15/16] kernel: fix localversion in v6.3+ Steve Sakoman
2024-02-27 21:57 ` [OE-core][kirkstone 16/16] kernel: make LOCALVERSION consistent between recipes Steve Sakoman
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=979b216330b2f4e8ab9d4e615d4e83997d59def0.1709070850.git.steve@sakoman.com \
--to=steve@sakoman.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox