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 --- meta-agl-test/conf/include/agl-extend-test.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (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 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}" -- cgit 1.2.3-korg