summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/devtool.py
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2023-12-29 11:44:27 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-30 11:03:07 +0000
commit6bc41cf96f6b6fed559b686ca600e6b0db09444b (patch)
tree76b2e286268e24ac119b33dae4f2ba74e243f8cf /meta/lib/oeqa/selftest/cases/devtool.py
parentf87f7e1b8c5cafc0a87c16efb985e32b183d9917 (diff)
downloadpoky-6bc41cf96f6b6fed559b686ca600e6b0db09444b.tar.gz
devtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend check
The recipe being tested is in `testrecipe`, use that rather than the literal `zvariant`. (From OE-Core rev: f14ce354890024a3a0a3d4c7efa53eab5db7a6b1) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/devtool.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/devtool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py
index d733dd1581..cc28731402 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -958,7 +958,7 @@ class DevtoolModifyTests(DevtoolBase):
958 result = runCmd('devtool modify %s -x %s' % (testrecipe, tempdir)) 958 result = runCmd('devtool modify %s -x %s' % (testrecipe, tempdir))
959 self.assertExists(os.path.join(tempdir, 'Cargo.toml'), 'Extracted source could not be found') 959 self.assertExists(os.path.join(tempdir, 'Cargo.toml'), 'Extracted source could not be found')
960 self.assertExists(os.path.join(self.workspacedir, 'conf', 'layer.conf'), 'Workspace directory not created. devtool output: %s' % result.output) 960 self.assertExists(os.path.join(self.workspacedir, 'conf', 'layer.conf'), 'Workspace directory not created. devtool output: %s' % result.output)
961 matches = glob.glob(os.path.join(self.workspacedir, 'appends', 'zvariant_*.bbappend')) 961 matches = glob.glob(os.path.join(self.workspacedir, 'appends', '%s_*.bbappend' % testrecipe))
962 self.assertTrue(matches, 'bbappend not created') 962 self.assertTrue(matches, 'bbappend not created')
963 # Test devtool status 963 # Test devtool status
964 result = runCmd('devtool status') 964 result = runCmd('devtool status')