]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
oeqa/recipetool: update recipe test to pass SHA
authorRoss Burton <ross.burton@intel.com>
Mon, 18 Jul 2016 20:43:35 +0000 (21:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2016 09:27:58 +0000 (10:27 +0100)
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/selftest/recipetool.py

index 2e38758aec1946edcc6ccd3358cd29ddcc3bd0c5..f8f6be32a421122e0bb080a36259fed0f29a0433 100644 (file)
@@ -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'