mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
8753c00f7a
commit
0eb98c9d53
@@ -0,0 +1,35 @@
|
|||||||
|
From bd7fb8be2ae2d75347cf7733302d5093046ffa85 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Peiran Hong <peiran.hong@windriver.com>
|
||||||
|
Date: Thu, 5 Sep 2019 15:42:22 -0400
|
||||||
|
Subject: [PATCH] Skip strip-trailing-cr test case
|
||||||
|
|
||||||
|
Skip the test "strip-trailing-cr" since it requires valgrind to
|
||||||
|
work, but valgrind is considered too heavy-weight for diffutils
|
||||||
|
package.
|
||||||
|
|
||||||
|
Upstream-Status: Inappropriate [embedded specific]
|
||||||
|
|
||||||
|
Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
|
||||||
|
---
|
||||||
|
tests/Makefile.am | 4 +++-
|
||||||
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
||||||
|
index 83a7c9d..04d51b5 100644
|
||||||
|
--- a/tests/Makefile.am
|
||||||
|
+++ b/tests/Makefile.am
|
||||||
|
@@ -21,8 +21,10 @@ TESTS = \
|
||||||
|
stdin \
|
||||||
|
strcoll-0-names \
|
||||||
|
filename-quoting \
|
||||||
|
- strip-trailing-cr \
|
||||||
|
colors
|
||||||
|
+# Skipping this test since it requires valgrind
|
||||||
|
+# and thus is too heavy for diffutils package
|
||||||
|
+# strip-trailing-cr
|
||||||
|
|
||||||
|
XFAIL_TESTS = large-subopt
|
||||||
|
|
||||||
|
--
|
||||||
|
2.21.0
|
||||||
|
|
||||||
@@ -5,6 +5,7 @@ require diffutils.inc
|
|||||||
|
|
||||||
SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz \
|
SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz \
|
||||||
file://run-ptest \
|
file://run-ptest \
|
||||||
|
file://0001-Skip-strip-trailing-cr-test-case.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "4824adc0e95dbbf11dfbdfaad6a1e461"
|
SRC_URI[md5sum] = "4824adc0e95dbbf11dfbdfaad6a1e461"
|
||||||
@@ -17,7 +18,7 @@ acpaths = "-I ./m4"
|
|||||||
|
|
||||||
inherit ptest
|
inherit ptest
|
||||||
|
|
||||||
RDEPENDS_${PN}-ptest += "make"
|
RDEPENDS_${PN}-ptest += "make perl"
|
||||||
|
|
||||||
do_install_ptest() {
|
do_install_ptest() {
|
||||||
t=${D}${PTEST_PATH}
|
t=${D}${PTEST_PATH}
|
||||||
|
|||||||
Reference in New Issue
Block a user