From: Ross Burton Date: Mon, 18 Jul 2016 20:43:35 +0000 (+0100) Subject: oeqa/recipetool: update recipe test to pass SHA X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~24950 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71dd4c05c41e8b363dc1ecac1f5105d316ee82dc;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oeqa/recipetool: update recipe test to pass SHA Signed-off-by: Ross Burton --- diff --git a/meta/lib/oeqa/selftest/recipetool.py b/meta/lib/oeqa/selftest/recipetool.py index 2e38758aec1..f8f6be32a42 100644 --- a/meta/lib/oeqa/selftest/recipetool.py +++ b/meta/lib/oeqa/selftest/recipetool.py @@ -389,7 +389,7 @@ class RecipetoolTests(RecipetoolBase): os.makedirs(tempsrc) recipefile = os.path.join(self.tempdir, 'libmatchbox.bb') srcuri = 'git://git.yoctoproject.org/libmatchbox' - result = runCmd('recipetool create -o %s %s -x %s' % (recipefile, srcuri, tempsrc)) + result = runCmd(['recipetool', 'create', '-o', recipefile, srcuri + ";rev=9f7cf8895ae2d39c465c04cc78e918c157420269", '-x', tempsrc]) self.assertTrue(os.path.isfile(recipefile), 'recipetool did not create recipe file; output:\n%s' % result.output) checkvars = {} checkvars['LICENSE'] = 'LGPLv2.1'