aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-test/conf
diff options
context:
space:
mode:
authorduerpei <duep.fnst@fujitsu.com>2022-09-02 14:20:45 +0800
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-09-07 17:07:17 +0000
commit0457026fc28c1914d4e12a444c61f1a25ca257dd (patch)
tree3c9695d9f9507ade9ec2288f01ebc9ff4a4e8c87 /meta-agl-test/conf
parent0dd1e7508ac5b710cf0b94fa7e6b56089f760b46 (diff)
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 <duep.fnst@fujitsu.com> Change-Id: Ic217bff672f3dae1ac3abc18c01ba802ebcb8fe1
Diffstat (limited to 'meta-agl-test/conf')
-rw-r--r--meta-agl-test/conf/include/agl-extend-test.inc2
-rw-r--r--meta-agl-test/conf/layer.conf14
2 files changed, 16 insertions, 0 deletions
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"