]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/sdk/cases/buildcpio: enable use of cached cpio from DL_DIR
authorJoshua Lock <joshua.g.lock@intel.com>
Mon, 10 Apr 2017 11:13:39 +0000 (12:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Apr 2017 17:09:20 +0000 (18:09 +0100)
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

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/sdk/cases/buildcpio.py

index 11d629a1d3d8e1b595a14a3a2f60b1973f8841f5..333dc7c226d7d4bb54a29ab9365acdc3db0dbb83 100644 (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()