mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:52:39 +02:00
oeqa/selftest/devtool: fix test_devtool_add_git_style2
The problem is the following:
AssertionError: 'gitsm://git@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master' != 'git://git@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master'
Mbedlts made changes to their repository, adding a sub-module, thus the
assert triggers an error with the url:
git://git@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master
456a54da8e
was the upstream change.
To fix the issue, the url has been changed to:
gitsm://git@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master
(From OE-Core rev: 9ac737fbe05c85ec8333b396ce2f89de6654916f)
Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
797c243ecc
commit
ab6d3e3d64
@@ -482,7 +482,7 @@ class DevtoolAddTests(DevtoolBase):
|
||||
pn = 'mbedtls'
|
||||
# this will trigger reformat_git_uri with branch parameter in url
|
||||
git_url = "'git://git@github.com/ARMmbed/mbedtls.git;protocol=https'"
|
||||
resulting_src_uri = "git://git@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master"
|
||||
resulting_src_uri = "gitsm://git@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master"
|
||||
self._test_devtool_add_git_url(git_url, version, pn, resulting_src_uri)
|
||||
|
||||
def test_devtool_add_library(self):
|
||||
|
||||
Reference in New Issue
Block a user