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/conf | |
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/conf')
-rw-r--r-- | meta-agl-test/conf/include/agl-extend-test.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-agl-test/conf/include/agl-extend-test.inc b/meta-agl-test/conf/include/agl-extend-test.inc index eabf2e5d..190109d4 100644 --- a/meta-agl-test/conf/include/agl-extend-test.inc +++ b/meta-agl-test/conf/include/agl-extend-test.inc @@ -1,2 +1,5 @@ -FEATURE_PACKAGES_agl-test = "packagegroup-agl-extend-test" +# Set default mode to "standard" +AGL_TEST_MODE ?= "standard" + IMAGE_FEATURES += "agl-test" +FEATURE_PACKAGES_agl-test = "packagegroup-agl-extend-test-${AGL_TEST_MODE}" |