mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
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>
This commit is contained in:
parent
f87f7e1b8c
commit
6bc41cf96f
|
@ -958,7 +958,7 @@ class DevtoolModifyTests(DevtoolBase):
|
|||
result = runCmd('devtool modify %s -x %s' % (testrecipe, tempdir))
|
||||
self.assertExists(os.path.join(tempdir, 'Cargo.toml'), 'Extracted source could not be found')
|
||||
self.assertExists(os.path.join(self.workspacedir, 'conf', 'layer.conf'), 'Workspace directory not created. devtool output: %s' % result.output)
|
||||
matches = glob.glob(os.path.join(self.workspacedir, 'appends', 'zvariant_*.bbappend'))
|
||||
matches = glob.glob(os.path.join(self.workspacedir, 'appends', '%s_*.bbappend' % testrecipe))
|
||||
self.assertTrue(matches, 'bbappend not created')
|
||||
# Test devtool status
|
||||
result = runCmd('devtool status')
|
||||
|
|
Loading…
Reference in New Issue
Block a user