[OE-core] [PATCH] classes/testsdk: Split implementation into classes
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Nov 15 19:40:58 UTC 2018
On Thu, 2018-11-15 at 13:14 -0600, Joshua Watt wrote:
> Splits the SDK test implementation into separate class files. The
> classes that are included are controlled by the variable
> ${TESTSDK_CLASSES}. This allows a SDK machine to change which classes
> are used to implement the test cases.
>
> [YOCTO #13020]
>
> Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
> ---
> meta/classes/testsdk-oecore.bbclass | 88 +++++++++++
> meta/classes/testsdk.bbclass | 202 ++---------------------
> --
> meta/classes/testsdkext-oecore.bbclass | 107 +++++++++++++
> 3 files changed, 205 insertions(+), 192 deletions(-)
> create mode 100644 meta/classes/testsdk-oecore.bbclass
> create mode 100644 meta/classes/testsdkext-oecore.bbclass
Would it make more sense to move some of this code to 'proper' python
library/classes under meta/lib/oe ?
We did this with package_managers and I'd say it probably did improve
things...
We probably don't want/need more bbclass files, particularly when they
just include each other.
Cheers,
Richard
More information about the Openembedded-core
mailing list