]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
buildtools-tarball: fix default_cases assignment
authorRoss Burton <ross.burton@arm.com>
Sat, 10 May 2025 08:43:34 +0000 (09:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 May 2025 09:52:52 +0000 (10:52 +0100)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/meta/buildtools-tarball.bb

index 8e78169e237c8df56646b70bcf5d5f270c352d35..6fa6d93a3d3d1e3d8553e504a19dab516b9293ec 100644 (file)
@@ -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)
 }