summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPeiran Hong <Peiran.Hong@windriver.com>2019-09-06 16:44:19 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-07 13:08:34 +0100
commit0eb98c9d53bbabc37baae40aa84f52ed0b47a13b (patch)
treef49005ec4838d56f3ee7da6542e6651791c5b496 /meta
parent8753c00f7a6b4a74799d789094c64b91209eaac6 (diff)
downloadpoky-0eb98c9d53bbabc37baae40aa84f52ed0b47a13b.tar.gz
diffutils: Added perl to support ptest & Skipped one test case
Added perl to the run-time dependency of the recipe for diffutils since it is required by the test "large-subpot". The test "strip-trailing-cr" is skipped since it requires valgrind to work, but valgrind is considered too heavy-weight for diffutils package. (From OE-Core rev: 802c67c7c27011812d690c41347b38481cdab2e9) Signed-off-by: Peiran Hong <peiran.hong@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/diffutils/diffutils/0001-Skip-strip-trailing-cr-test-case.patch35
-rw-r--r--meta/recipes-extended/diffutils/diffutils_3.7.bb3
2 files changed, 37 insertions, 1 deletions
diff --git a/meta/recipes-extended/diffutils/diffutils/0001-Skip-strip-trailing-cr-test-case.patch b/meta/recipes-extended/diffutils/diffutils/0001-Skip-strip-trailing-cr-test-case.patch
new file mode 100644
index 0000000000..aac1c43465
--- /dev/null
+++ b/meta/recipes-extended/diffutils/diffutils/0001-Skip-strip-trailing-cr-test-case.patch
@@ -0,0 +1,35 @@
1From bd7fb8be2ae2d75347cf7733302d5093046ffa85 Mon Sep 17 00:00:00 2001
2From: Peiran Hong <peiran.hong@windriver.com>
3Date: Thu, 5 Sep 2019 15:42:22 -0400
4Subject: [PATCH] Skip strip-trailing-cr test case
5
6Skip the test "strip-trailing-cr" since it requires valgrind to
7work, but valgrind is considered too heavy-weight for diffutils
8package.
9
10Upstream-Status: Inappropriate [embedded specific]
11
12Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
13---
14 tests/Makefile.am | 4 +++-
15 1 file changed, 3 insertions(+), 1 deletion(-)
16
17diff --git a/tests/Makefile.am b/tests/Makefile.am
18index 83a7c9d..04d51b5 100644
19--- a/tests/Makefile.am
20+++ b/tests/Makefile.am
21@@ -21,8 +21,10 @@ TESTS = \
22 stdin \
23 strcoll-0-names \
24 filename-quoting \
25- strip-trailing-cr \
26 colors
27+# Skipping this test since it requires valgrind
28+# and thus is too heavy for diffutils package
29+# strip-trailing-cr
30
31 XFAIL_TESTS = large-subopt
32
33--
342.21.0
35
diff --git a/meta/recipes-extended/diffutils/diffutils_3.7.bb b/meta/recipes-extended/diffutils/diffutils_3.7.bb
index 7daeee3513..8111ae6065 100644
--- a/meta/recipes-extended/diffutils/diffutils_3.7.bb
+++ b/meta/recipes-extended/diffutils/diffutils_3.7.bb
@@ -5,6 +5,7 @@ require diffutils.inc
5 5
6SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz \ 6SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz \
7 file://run-ptest \ 7 file://run-ptest \
8 file://0001-Skip-strip-trailing-cr-test-case.patch \
8" 9"
9 10
10SRC_URI[md5sum] = "4824adc0e95dbbf11dfbdfaad6a1e461" 11SRC_URI[md5sum] = "4824adc0e95dbbf11dfbdfaad6a1e461"
@@ -17,7 +18,7 @@ acpaths = "-I ./m4"
17 18
18inherit ptest 19inherit ptest
19 20
20RDEPENDS_${PN}-ptest += "make" 21RDEPENDS_${PN}-ptest += "make perl"
21 22
22do_install_ptest() { 23do_install_ptest() {
23 t=${D}${PTEST_PATH} 24 t=${D}${PTEST_PATH}