diff mbox series

[2/3] oeqa/selftest/devtool: strengthen test_devtool_virtual_kernel_modify test

Message ID 20231012202535.2902235-2-chris.laplante@agilent.com
State New
Headers show
Series [1/3] kernel-yocto, devtool-source.bbclass: fix 'devtool modify' for kernels | expand

Commit Message

chris.laplante@agilent.com Oct. 12, 2023, 8:25 p.m. UTC
From: Chris Laplante <chris.laplante@agilent.com>

Call _check_src_repo to confirm that the 'devtool' branch is setup as we
expect. This would have caught the basic case of the bug (i.e. where
override branches are not involved).

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
---
 meta/lib/oeqa/selftest/cases/devtool.py | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py
index b577f6d62a..a5ef0329df 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -2166,6 +2166,7 @@  class DevtoolUpgradeTests(DevtoolBase):
         bitbake('%s -c clean' % kernel_provider)
         #Step 4.1
         runCmd('devtool modify virtual/kernel -x %s' % tempdir)
+        self._check_src_repo(tempdir)
         self.assertExists(os.path.join(tempdir, 'Makefile'), 'Extracted source could not be found')
         #Step 4.2
         configfile = os.path.join(tempdir,'.config')