Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: mikko.rapeli@linaro.org, openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v3 3/5] testexport.bbclass oe-test: capture all tests and data from all layers
Date: Sat, 05 Jul 2025 17:07:57 +0100	[thread overview]
Message-ID: <c8c8d7d7c90d6b8113ce7b292bda403053bb267c.camel@linuxfoundation.org> (raw)
In-Reply-To: <20250702072516.1075450-3-mikko.rapeli@linaro.org>

On Wed, 2025-07-02 at 10:25 +0300, Mikko Rapeli via
lists.openembedded.org wrote:
> 
> -import os
> -import sys
>  import argparse
> +import glob
>  import logging
> +import os
> +import sys
>  
>  scripts_path = os.path.dirname(os.path.realpath(__file__))
> -lib_path = scripts_path + '/lib'
> -sys.path = sys.path + [lib_path]
> +lib_path = os.path.join(scripts_path, 'lib')
> +sys.path.append(lib_path)
> +meta_lib_paths = glob.glob(scripts_path + '/*/lib',
> root_dir=scripts_path, recursive=True)
> +for p in meta_lib_paths:
> +    sys.path.append(p)
>  import argparse_oe
>  import scriptutils
>  
> 

This assumes python 3.10 which we can't quite do yet:

https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/1850

Cheers,

Richard


  reply	other threads:[~2025-07-05 16:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-02  7:25 [PATCH v3 1/5] oeqa runtime: set self.runner and handle None Mikko Rapeli
2025-07-02  7:25 ` [PATCH v3 2/5] oeqa context.py: use TEST_SUITES if set Mikko Rapeli
2025-07-02  7:25 ` [PATCH v3 3/5] testexport.bbclass oe-test: capture all tests and data from all layers Mikko Rapeli
2025-07-05 16:07   ` Richard Purdie [this message]
2025-07-07  7:16     ` [OE-core] " Mikko Rapeli
2025-07-02  7:25 ` [PATCH v3 4/5] testexport.bbclass: use image suffix in testexport tar ball name Mikko Rapeli
2025-07-14 12:08   ` [OE-core] " Richard Purdie
2025-07-14 12:26     ` Mikko Rapeli

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=c8c8d7d7c90d6b8113ce7b292bda403053bb267c.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=mikko.rapeli@linaro.org \
    --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