diff options
author | Yan <yanxk.fnst@fujitsu.com> | 2023-06-15 13:30:40 +0800 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-08-02 11:34:25 +0000 |
commit | fe8c4a516b3bff5f531caebd43c1f1ac137b9959 (patch) | |
tree | c61850d740f00c0d6b36078ddd50dcfec47b6a82 /meta-agl-test/recipes-platform | |
parent | 482a6c532c6d997f83b224c47356b3bddfaa9bf9 (diff) |
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 <yanxk.fnst@fujitsu.com>
Change-Id: If11db7ec50171aa69b98e1e656043722e2900182
Diffstat (limited to 'meta-agl-test/recipes-platform')
4 files changed, 45 insertions, 18 deletions
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 \ -" |