mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
oeqa/selftest/devtool: Update after upstream repo changes
The upstream changed the branch name, moving to archive/ so we need to update too. Take the opportunity to match the new location too to avoid the redirect. We could use a different branch but upstream would probably eventually rename that too so this may last longer. (From OE-Core rev: 1e0a64a1890a62e130595f46d93c8d08af9170f5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 478a645bad150f04dee1b0085c4542c2eefe7007) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
parent
7810db935d
commit
7ff4ef9855
|
|
@ -476,8 +476,8 @@ class DevtoolAddTests(DevtoolBase):
|
|||
version = 'v3.1.0'
|
||||
pn = 'mbedtls'
|
||||
# this will trigger reformat_git_uri with branch parameter in url
|
||||
git_url = "'git://git@github.com/ARMmbed/mbedtls.git;branch=mbedtls-2.28;protocol=https'"
|
||||
resulting_src_uri = "git://git@github.com/ARMmbed/mbedtls.git;branch=mbedtls-2.28;protocol=https"
|
||||
git_url = "'git://git@github.com/Mbed-TLS/mbedtls.git;branch=archive/mbedtls-2.28;protocol=https'"
|
||||
resulting_src_uri = "git://git@github.com/Mbed-TLS/mbedtls.git;branch=archive/mbedtls-2.28;protocol=https"
|
||||
self._test_devtool_add_git_url(git_url, version, pn, resulting_src_uri)
|
||||
|
||||
def test_devtool_add_git_style2(self):
|
||||
|
|
@ -485,8 +485,8 @@ class DevtoolAddTests(DevtoolBase):
|
|||
srcrev = 'v3.1.0'
|
||||
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"
|
||||
git_url = "'git://git@github.com/Mbed-TLS/mbedtls.git;protocol=https'"
|
||||
resulting_src_uri = "git://git@github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=master"
|
||||
self._test_devtool_add_git_url(git_url, version, pn, resulting_src_uri, srcrev)
|
||||
|
||||
def test_devtool_add_library(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user