Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Konrad Weihmann <kweihmann@outlook.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] lib/oeqa: add __init__.py
Date: Wed, 22 Mar 2023 14:41:53 +0100	[thread overview]
Message-ID: <20230322134153d56095ae@mail.local> (raw)
In-Reply-To: <AM6PR09MB3091CD0EFBD24354A1A80FF6A8809@AM6PR09MB3091.eurprd09.prod.outlook.com>

Hello,

This breaks the buils on the AB:

meta-mingw
https://autobuilder.yoctoproject.org/typhoon/#builders/89/builds/6880/steps/17/logs/stdio

oe-selftest:
https://autobuilder.yoctoproject.org/typhoon/#builders/127/builds/1146/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#builders/80/builds/4912/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#builders/87/builds/4995/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#builders/79/builds/4964/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#builders/86/builds/4956/steps/14/logs/stdio

On 20/03/2023 15:46:57+0000, Konrad Weihmann wrote:
> to allow loading of oeqa modules outside of bitbake.
> Calls like from oeqa.runtime.case import OERuntimeTestCase or
> from oeqa.runtime.case import OERuntimeTestCase assume that oeqa
> is a python module, but a the folder is lacking an __init__.py imports
> fail when the file is loaded outside of bitbake with manipulated
> sys.path.
> Fix that by adding an empty file.
> This allow to inspect for instance test case and generate proper
> test documentation from docstring or even other use cases.
> 
> The file got deleted to fix testimage and testexport features in
> d9b3ee8b38f877c1723e48f1aa311c28102786fb, but it should have
> been not deleted but just emptied
> 
> Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
> ---
>  meta/lib/oeqa/__init__.py | 0
>  1 file changed, 0 insertions(+), 0 deletions(-)
>  create mode 100644 meta/lib/oeqa/__init__.py
> 
> diff --git a/meta/lib/oeqa/__init__.py b/meta/lib/oeqa/__init__.py
> new file mode 100644
> index 0000000000..e69de29bb2
> -- 
> 2.34.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#178832): https://lists.openembedded.org/g/openembedded-core/message/178832
> Mute This Topic: https://lists.openembedded.org/mt/97734360/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


      reply	other threads:[~2023-03-22 13:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-20 15:46 [PATCH] lib/oeqa: add __init__.py Konrad Weihmann
2023-03-22 13:41 ` Alexandre Belloni [this message]

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=20230322134153d56095ae@mail.local \
    --to=alexandre.belloni@bootlin.com \
    --cc=kweihmann@outlook.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