oeqa/sdk/cases/buildcpio: enable use of cached cpio from DL_DIR

All build project test cases will try to copy the requested source
artefacts from DL_DIR before fetching. This testcase is referencing bzipped
tarball whereas the recipe fetches a gzipped tarball.

Switch to fetching the gzipped tarball in the test case so that we're able
to use a cached tarball from DL_DIR

(From OE-Core rev: 27a5883e8ae01e69f5425efe8b035bea7087b2f9)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Lock
2017-04-10 12:13:39 +01:00
committed by Richard Purdie
parent ba1d8e3691
commit 1b4bd1b659

View File

@@ -10,7 +10,7 @@ class BuildCpioTest(OESDKTestCase):
dl_dir = self.td.get('DL_DIR', None)
self.project = SDKBuildProject(self.tc.sdk_dir + "/cpio/", self.tc.sdk_env,
"https://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.bz2",
"https://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.gz",
self.tc.sdk_dir, self.td['DATETIME'], dl_dir=dl_dir)
self.project.download_archive()