diff options
Diffstat (limited to 'meta/lib/oeqa/selftest')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/devtool.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index c4dcdb4550..d37848bdef 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py | |||
@@ -989,9 +989,10 @@ class DevtoolModifyTests(DevtoolBase): | |||
989 | self.assertIn(tempdir, result.output) | 989 | self.assertIn(tempdir, result.output) |
990 | # Check git repo | 990 | # Check git repo |
991 | self._check_src_repo(tempdir) | 991 | self._check_src_repo(tempdir) |
992 | # Check that the patch is correctly applied | 992 | # Check that the patch is correctly applied. |
993 | # last commit message in the tree must contain | 993 | # The last commit message in the tree must contain the following note: |
994 | # %% original patch: <patchname> | 994 | # Notes (devtool): |
995 | # original patch: <patchname> | ||
995 | # .. | 996 | # .. |
996 | patchname = None | 997 | patchname = None |
997 | for uri in src_uri: | 998 | for uri in src_uri: |
@@ -999,7 +1000,7 @@ class DevtoolModifyTests(DevtoolBase): | |||
999 | patchname = uri.replace("file://", "").partition('.patch')[0] + '.patch' | 1000 | patchname = uri.replace("file://", "").partition('.patch')[0] + '.patch' |
1000 | self.assertIsNotNone(patchname) | 1001 | self.assertIsNotNone(patchname) |
1001 | result = runCmd('git -C %s log -1' % tempdir) | 1002 | result = runCmd('git -C %s log -1' % tempdir) |
1002 | self.assertIn("%%%% original patch: %s" % patchname, result.output) | 1003 | self.assertIn("Notes (devtool):\n original patch: %s" % patchname, result.output) |
1003 | 1004 | ||
1004 | # Configure the recipe to check that the git dependencies are correctly patched in cargo config | 1005 | # Configure the recipe to check that the git dependencies are correctly patched in cargo config |
1005 | bitbake('-c configure %s' % testrecipe) | 1006 | bitbake('-c configure %s' % testrecipe) |