Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mikko Rapeli <mikko.rapeli@linaro.org>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: 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: Mon, 7 Jul 2025 10:16:27 +0300	[thread overview]
Message-ID: <aGt0S67W-UkQrN7f@nuoska> (raw)
In-Reply-To: <c8c8d7d7c90d6b8113ce7b292bda403053bb267c.camel@linuxfoundation.org>

Hi,

On Sat, Jul 05, 2025 at 05:07:57PM +0100, Richard Purdie wrote:
> 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

Ok, looks like it's safe to remove root_dir=scripts_path completely.
I'll send a v4 for this.

Cheers,

-Mikko


  reply	other threads:[~2025-07-07  7:16 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   ` [OE-core] " Richard Purdie
2025-07-07  7:16     ` Mikko Rapeli [this message]
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=aGt0S67W-UkQrN7f@nuoska \
    --to=mikko.rapeli@linaro.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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