[Buildroot] [RFC v1 1/1] support/testing/run-tests: add ability to run tests from external
Colin Foster
colin.foster at in-advantage.com
Sat Dec 23 16:12:08 UTC 2023
Hi Thomas,
On Sat, Dec 23, 2023 at 02:40:18PM +0100, Thomas Petazzoni wrote:
> Hello Colin,
>
> On Fri, 22 Dec 2023 17:22:51 -0600
> Colin Foster <colin.foster at in-advantage.com> wrote:
>
> > + overlay_path = os.getenv("BR2_EXTERNAL")
> > + if overlay_path:
> > + temp_dir = tempfile.TemporaryDirectory()
> > + shutil.copytree(script_dir, temp_dir.name, dirs_exist_ok=True)
> > + shutil.copytree(overlay_path + "/support/testing",
> > + temp_dir.name,
> > + dirs_exist_ok=True)
>
> Is there a better solution than copying all tests into a temporary
> directory?
I hope so. Yann has suggestions for using symlinks that would probably
be better if it works.
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
More information about the buildroot
mailing list