summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest
diff options
context:
space:
mode:
authorChoong YinThong <yin.thong.choong@intel.com>2017-04-04 02:29:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-05 18:00:01 +0100
commitb6a1004c73820cff833f2b6f09d2432706f5447a (patch)
treee20716cd57908bd5f0584074a69351feabfd9be1 /meta/lib/oeqa/selftest
parent21aa71dbaaea0aaf84329c0181dfac91f6830573 (diff)
downloadpoky-b6a1004c73820cff833f2b6f09d2432706f5447a.tar.gz
selftest/recipetool: replace fedorahosted.org SRC_URI with github.com source
fedorahosted.org was retired on March 1st, 2017. This is to update the SRC_URI to point to github.com. [YOCTO #11226] (From OE-Core rev: 9b3c9193d4a04061e64e43d55782a4d73ee166ad) (From OE-Core rev: c9c0528d7f298dae4f543ab4006057022abe71e5) Signed-off-by: Choong YinThong <yin.thong.choong@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest')
-rw-r--r--meta/lib/oeqa/selftest/recipetool.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/lib/oeqa/selftest/recipetool.py b/meta/lib/oeqa/selftest/recipetool.py
index 93e75a588e..c3d618ff85 100644
--- a/meta/lib/oeqa/selftest/recipetool.py
+++ b/meta/lib/oeqa/selftest/recipetool.py
@@ -364,15 +364,15 @@ class RecipetoolTests(RecipetoolBase):
364 tempsrc = os.path.join(self.tempdir, 'srctree') 364 tempsrc = os.path.join(self.tempdir, 'srctree')
365 os.makedirs(tempsrc) 365 os.makedirs(tempsrc)
366 recipefile = os.path.join(self.tempdir, 'logrotate_3.8.7.bb') 366 recipefile = os.path.join(self.tempdir, 'logrotate_3.8.7.bb')
367 srcuri = 'https://fedorahosted.org/releases/l/o/logrotate/logrotate-3.8.7.tar.gz' 367 srcuri = 'https://github.com/logrotate/logrotate/archive/r3-8-7.tar.gz'
368 result = runCmd('recipetool create -o %s %s -x %s' % (recipefile, srcuri, tempsrc)) 368 result = runCmd('recipetool create -o %s %s -x %s' % (recipefile, srcuri, tempsrc))
369 self.assertTrue(os.path.isfile(recipefile)) 369 self.assertTrue(os.path.isfile(recipefile))
370 checkvars = {} 370 checkvars = {}
371 checkvars['LICENSE'] = 'GPLv2' 371 checkvars['LICENSE'] = 'GPLv2'
372 checkvars['LIC_FILES_CHKSUM'] = 'file://COPYING;md5=18810669f13b87348459e611d31ab760' 372 checkvars['LIC_FILES_CHKSUM'] = 'file://COPYING;md5=18810669f13b87348459e611d31ab760'
373 checkvars['SRC_URI'] = 'https://fedorahosted.org/releases/l/o/logrotate/logrotate-${PV}.tar.gz' 373 checkvars['SRC_URI'] = 'https://github.com/logrotate/logrotate/archive/r3-8-7.tar.gz'
374 checkvars['SRC_URI[md5sum]'] = '99e08503ef24c3e2e3ff74cc5f3be213' 374 checkvars['SRC_URI[md5sum]'] = '6b1aa0e0d07eda3c9a2526520850397a'
375 checkvars['SRC_URI[sha256sum]'] = 'f6ba691f40e30e640efa2752c1f9499a3f9738257660994de70a45fe00d12b64' 375 checkvars['SRC_URI[sha256sum]'] = 'dece4bfeb9d8374a0ecafa34be139b5a697db5c926dcc69a9b8715431a22e733'
376 self._test_recipe_contents(recipefile, checkvars, []) 376 self._test_recipe_contents(recipefile, checkvars, [])
377 377
378 @testcase(1194) 378 @testcase(1194)