diff mbox series

[01/23] buildtools-tarball: fix default_cases assignment

Message ID 20250510084400.269726-1-ross.burton@arm.com
State Accepted, archived
Commit 867e0a9c571b7bc9a37e6d893f7d75e03fa218a5
Headers show
Series [01/23] buildtools-tarball: fix default_cases assignment | expand

Commit Message

Ross Burton May 10, 2025, 8:43 a.m. UTC
This is meant to be a list of strings not a single string. For example,
this is overwriting the default in OESDKTestContextExecutor which is:

      default_cases = [os.path.join(os.path.abspath(os.path.dirname(__file__)), 'cases')]

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-core/meta/buildtools-tarball.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb
index 8e78169e237..6fa6d93a3d3 100644
--- a/meta/recipes-core/meta/buildtools-tarball.bb
+++ b/meta/recipes-core/meta/buildtools-tarball.bb
@@ -135,7 +135,7 @@  python do_testsdk() {
     testsdk = oeqa.sdk.testsdk.TestSDK()
 
     cases_path = os.path.join(os.path.abspath(os.path.dirname(oeqa.sdk.testsdk.__file__)), d.getVar("TESTSDK_CASES"))
-    testsdk.context_executor_class.default_cases = cases_path
+    testsdk.context_executor_class.default_cases = [cases_path,]
 
     testsdk.run(d)
 }