From 0457026fc28c1914d4e12a444c61f1a25ca257dd Mon Sep 17 00:00:00 2001 From: duerpei Date: Fri, 2 Sep 2022 14:20:45 +0800 Subject: meta-agl-test:add new feature 'agl-test' 'agl-test' is used to compile the test sets and test framework into the image, make it more convenient to test target. Now it's only support the target agl-demo-platform(ivi) Enable the `agl-test` AGL feature when setting up your build environment with aglsetup.sh. This will add the `packagegroup-agl-extend-test` packagegroup to the image, For specific packages to be added, please refer to the file: ./recipes-platform/packagegroup/packagegroup-agl-extend-test.bb For running test using 'agl-test', refer to: https://git.automotivelinux.org/src/agl-test-framework/tree/README Bug-AGL: SPEC-4345 Signed-off-by: duerpei Change-Id: Ic217bff672f3dae1ac3abc18c01ba802ebcb8fe1 --- meta-agl-test/conf/include/agl-extend-test.inc | 2 ++ meta-agl-test/conf/layer.conf | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 meta-agl-test/conf/include/agl-extend-test.inc create mode 100644 meta-agl-test/conf/layer.conf (limited to 'meta-agl-test/conf') diff --git a/meta-agl-test/conf/include/agl-extend-test.inc b/meta-agl-test/conf/include/agl-extend-test.inc new file mode 100644 index 00000000..eabf2e5d --- /dev/null +++ b/meta-agl-test/conf/include/agl-extend-test.inc @@ -0,0 +1,2 @@ +FEATURE_PACKAGES_agl-test = "packagegroup-agl-extend-test" +IMAGE_FEATURES += "agl-test" diff --git a/meta-agl-test/conf/layer.conf b/meta-agl-test/conf/layer.conf new file mode 100644 index 00000000..f8dba7cb --- /dev/null +++ b/meta-agl-test/conf/layer.conf @@ -0,0 +1,14 @@ +#We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "agl-test" +BBFILE_PATTERN_agl-test = "^${LAYERDIR}/" + +# This should only be incremented on significant changes that will +# cause compatibility issues with other layers +LAYERVERSION_agl-test = "1" + +LAYERSERIES_COMPAT_agl-test = "kirkstone" -- cgit 1.2.3-korg