diff options
| author | Khem Raj <raj.khem@gmail.com> | 2020-02-04 21:41:19 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-08 13:20:02 +0000 |
| commit | 504b206e377b7e34ad5703079cd047bd2df96895 (patch) | |
| tree | 9173c836edb2bf5d1adcad7e422e70e55bfb7b69 /meta/lib/oeqa/sdk | |
| parent | 6113de76c88206be1bab5a066b1b90f811e39de2 (diff) | |
| download | poky-504b206e377b7e34ad5703079cd047bd2df96895.tar.gz | |
oeqa: Use cpio 2.13 as testcase
cpio 2.12 was released in 2015 and might have used older autotools
which could result in errors like
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13779
Bumping to 2.13 will help in matching the tool versions
A good change on top would be to run
aclocal -I .; autoheader; autoconf; automake --add-missing -c
before running configure step perhaps
[YOCTO #13779]
(From OE-Core rev: 84eb1dc4fe8a11cd2d05b703070a6fb6de05b873)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdk')
| -rw-r--r-- | meta/lib/oeqa/sdk/cases/buildcpio.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/sdk/cases/buildcpio.py b/meta/lib/oeqa/sdk/cases/buildcpio.py index 0a5e68d5fd..b0beafb38f 100644 --- a/meta/lib/oeqa/sdk/cases/buildcpio.py +++ b/meta/lib/oeqa/sdk/cases/buildcpio.py | |||
| @@ -17,10 +17,10 @@ class BuildCpioTest(OESDKTestCase): | |||
| 17 | """ | 17 | """ |
| 18 | def test_cpio(self): | 18 | def test_cpio(self): |
| 19 | with tempfile.TemporaryDirectory(prefix="cpio-", dir=self.tc.sdk_dir) as testdir: | 19 | with tempfile.TemporaryDirectory(prefix="cpio-", dir=self.tc.sdk_dir) as testdir: |
| 20 | tarball = self.fetch(testdir, self.td["DL_DIR"], "https://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.gz") | 20 | tarball = self.fetch(testdir, self.td["DL_DIR"], "https://ftp.gnu.org/gnu/cpio/cpio-2.13.tar.gz") |
| 21 | 21 | ||
| 22 | dirs = {} | 22 | dirs = {} |
| 23 | dirs["source"] = os.path.join(testdir, "cpio-2.12") | 23 | dirs["source"] = os.path.join(testdir, "cpio-2.13") |
| 24 | dirs["build"] = os.path.join(testdir, "build") | 24 | dirs["build"] = os.path.join(testdir, "build") |
| 25 | dirs["install"] = os.path.join(testdir, "install") | 25 | dirs["install"] = os.path.join(testdir, "install") |
| 26 | 26 | ||
