summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/recipetool.py
diff options
context:
space:
mode:
authorMohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com>2018-11-09 17:57:58 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-09 15:27:34 +0000
commit4f59608a327b31f5b9e6ff6882e0226335a0c999 (patch)
tree171a414bbc8a44b058a736048ba14527a713424c /meta/lib/oeqa/selftest/cases/recipetool.py
parentd3b55a3f6761f996f15dcbf741038f2e7891f693 (diff)
downloadpoky-4f59608a327b31f5b9e6ff6882e0226335a0c999.tar.gz
oeqa/selftest/recipetool: Fix problems from changing upstream source
The upstream source tarball checksums changed. Use the copy from our source mirror to avoid failures. [YOCTO #12979] (From OE-Core rev: e97a31e6bbaec5cb56d4750bf5171dbba510ee33) Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/recipetool.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/recipetool.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py
index cd15df11a9..06f980e1b0 100644
--- a/meta/lib/oeqa/selftest/cases/recipetool.py
+++ b/meta/lib/oeqa/selftest/cases/recipetool.py
@@ -433,12 +433,12 @@ class RecipetoolTests(RecipetoolBase):
433 temprecipe = os.path.join(self.tempdir, 'recipe') 433 temprecipe = os.path.join(self.tempdir, 'recipe')
434 os.makedirs(temprecipe) 434 os.makedirs(temprecipe)
435 recipefile = os.path.join(temprecipe, 'navit_0.5.0.bb') 435 recipefile = os.path.join(temprecipe, 'navit_0.5.0.bb')
436 srcuri = 'http://downloads.sourceforge.net/project/navit/v0.5.0/navit-0.5.0.tar.gz' 436 srcuri = 'http://downloads.yoctoproject.org/mirror/sources/navit-0.5.0.tar.gz'
437 result = runCmd('recipetool create -o %s %s' % (temprecipe, srcuri)) 437 result = runCmd('recipetool create -o %s %s' % (temprecipe, srcuri))
438 self.assertTrue(os.path.isfile(recipefile)) 438 self.assertTrue(os.path.isfile(recipefile))
439 checkvars = {} 439 checkvars = {}
440 checkvars['LICENSE'] = set(['Unknown', 'GPLv2', 'LGPLv2']) 440 checkvars['LICENSE'] = set(['Unknown', 'GPLv2', 'LGPLv2'])
441 checkvars['SRC_URI'] = 'http://downloads.sourceforge.net/project/navit/v${PV}/navit-${PV}.tar.gz' 441 checkvars['SRC_URI'] = 'http://downloads.yoctoproject.org/mirror/sources/navit-${PV}.tar.gz'
442 checkvars['SRC_URI[md5sum]'] = '242f398e979a6b8c0f3c802b63435b68' 442 checkvars['SRC_URI[md5sum]'] = '242f398e979a6b8c0f3c802b63435b68'
443 checkvars['SRC_URI[sha256sum]'] = '13353481d7fc01a4f64e385dda460b51496366bba0fd2cc85a89a0747910e94d' 443 checkvars['SRC_URI[sha256sum]'] = '13353481d7fc01a4f64e385dda460b51496366bba0fd2cc85a89a0747910e94d'
444 checkvars['DEPENDS'] = set(['freetype', 'zlib', 'openssl', 'glib-2.0', 'virtual/libgl', 'virtual/egl', 'gtk+', 'libpng', 'libsdl', 'freeglut', 'dbus-glib', 'fribidi']) 444 checkvars['DEPENDS'] = set(['freetype', 'zlib', 'openssl', 'glib-2.0', 'virtual/libgl', 'virtual/egl', 'gtk+', 'libpng', 'libsdl', 'freeglut', 'dbus-glib', 'fribidi'])