Re: [OE-core] [PATCH 2/4] oe-selftest: add a cpp-example recipe

2023-12-13 Thread Adrian Freihofer
On Wed, 2023-12-13 at 11:10 +, Ross Burton wrote: > > > > On 7 Dec 2023, at 20:52, Adrian Freihofer via > > lists.openembedded.org > > wrote: > > > > +do_run_tests () { > > +    meson test -C "${B}" --no-rebuild > > +} > > Somewhere in is a > partial implementation of a generic “run the

Re: [OE-core] [PATCH 2/4] oe-selftest: add a cpp-example recipe

2023-12-13 Thread Ross Burton
> On 7 Dec 2023, at 20:52, Adrian Freihofer via lists.openembedded.org > wrote: > > +do_run_tests () { > +meson test -C "${B}" --no-rebuild > +} Somewhere in is a partial implementation of a generic “run the test suite at build time in qemu-user” which failed miserably because

[OE-core] [PATCH 2/4] oe-selftest: add a cpp-example recipe

2023-12-07 Thread Adrian Freihofer
This simple C++ project supports compilation with CMake and Meson. (Autotool support could be added later on.) It's supposed to be used with oe-selftest. An artificial project has several advantages over compiling a normal CMake or Meson based project for testing purposes: - It is much faster