summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorAlexandre Truong <alexandre.truong@smile.fr>2024-04-04 14:25:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-04 21:50:24 +0100
commitab6d3e3d645ffc343f434bf731339fa237df027a (patch)
tree12c6e10d03151ddabd1627761b25601038064175 /meta/lib/oeqa
parent797c243eccb3b53de7d29f3e629287709ec90e87 (diff)
downloadpoky-ab6d3e3d645ffc343f434bf731339fa237df027a.tar.gz
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 https://github.com/Mbed-TLS/mbedtls/commit/456a54da8ef44c8b725b524567c08cffec6a7214 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>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r--meta/lib/oeqa/selftest/cases/devtool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py
index a1cccc39eb..bc1e40ef83 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -482,7 +482,7 @@ class DevtoolAddTests(DevtoolBase):
482 pn = 'mbedtls' 482 pn = 'mbedtls'
483 # this will trigger reformat_git_uri with branch parameter in url 483 # this will trigger reformat_git_uri with branch parameter in url
484 git_url = "'git://git@github.com/ARMmbed/mbedtls.git;protocol=https'" 484 git_url = "'git://git@github.com/ARMmbed/mbedtls.git;protocol=https'"
485 resulting_src_uri = "git://git@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master" 485 resulting_src_uri = "gitsm://git@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master"
486 self._test_devtool_add_git_url(git_url, version, pn, resulting_src_uri) 486 self._test_devtool_add_git_url(git_url, version, pn, resulting_src_uri)
487 487
488 def test_devtool_add_library(self): 488 def test_devtool_add_library(self):