From fe8c4a516b3bff5f531caebd43c1f1ac137b9959 Mon Sep 17 00:00:00 2001 From: Yan Date: Thu, 15 Jun 2023 13:30:40 +0800 Subject: agl-test-framework: add three build modes we now add 3 build time modes for users to select: mode 1: fast register AGL_TEST_MODE = "fast" into the local.conf, simply install tests runtime from 0-30 seconds. mode 2: standard ---> DEFAULT install tests that gets a runtime from 0 secs to 30 mins. mode 3: extreme install all tests. ---Notice---: we set default to "standard" mode. If you wish for other modes, put the below comment in your conf/local.conf: AGL_TEST_MODE = "fast" or AGL_TEST_MODE = "extreme" Bug-AGL: SPEC-4753 Signed-off-by: Yan Change-Id: If11db7ec50171aa69b98e1e656043722e2900182 --- .../packagegroup-agl-extend-test-extreme.bb | 15 +++++++++++++++ .../packagegroup/packagegroup-agl-extend-test-fast.bb | 15 +++++++++++++++ .../packagegroup-agl-extend-test-standard.bb | 15 +++++++++++++++ .../packagegroup/packagegroup-agl-extend-test.bb | 18 ------------------ 4 files changed, 45 insertions(+), 18 deletions(-) create mode 100644 meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test-extreme.bb create mode 100644 meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test-fast.bb create mode 100644 meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test-standard.bb delete mode 100644 meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test.bb (limited to 'meta-agl-test/recipes-platform/packagegroup') diff --git a/meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test-extreme.bb b/meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test-extreme.bb new file mode 100644 index 00000000..ca40c086 --- /dev/null +++ b/meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test-extreme.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Mode 'extreme' components" +LICENSE = "Apache-2.0" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-extend-test-extreme \ +" + +ALLOW_EMPTY:${PN} = "1" + +RDEPENDS:${PN} += " \ + packagegroup-agl-extend-test-standard \ + agl-test-framework-extreme \ +" diff --git a/meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test-fast.bb b/meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test-fast.bb new file mode 100644 index 00000000..4579781f --- /dev/null +++ b/meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test-fast.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Mode 'fast' components" +LICENSE = "Apache-2.0" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-extend-test-fast \ +" + +ALLOW_EMPTY:${PN} = "1" + +RDEPENDS:${PN} += " \ + agl-test-framework-base \ + agl-test-framework-fast \ +" diff --git a/meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test-standard.bb b/meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test-standard.bb new file mode 100644 index 00000000..48260856 --- /dev/null +++ b/meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test-standard.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Mode 'standard' components" +LICENSE = "Apache-2.0" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-extend-test-standard \ +" + +ALLOW_EMPTY:${PN} = "1" + +RDEPENDS:${PN} += " \ + packagegroup-agl-extend-test-fast \ + agl-test-framework-standard \ +" diff --git a/meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test.bb b/meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test.bb deleted file mode 100644 index b4401ac1..00000000 --- a/meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test.bb +++ /dev/null @@ -1,18 +0,0 @@ -DESCRIPTION = "Agl Extend Test Group" -LICENSE = "Apache-2.0" - -inherit packagegroup - -PACKAGES = "\ - packagegroup-agl-extend-test \ -" - -ALLOW_EMPTY:${PN} = "1" - -RDEPENDS:${PN} += " \ - agl-test-framework \ - aio-stress \ - stress-ng \ - ltp \ - linus-stress \ -" -- cgit 1.2.3-korg