diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/diffutils/diffutils/0001-Skip-strip-trailing-cr-test-case.patch | 35 | ||||
-rw-r--r-- | meta/recipes-extended/diffutils/diffutils_3.7.bb | 3 |
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 @@ | |||
1 | From bd7fb8be2ae2d75347cf7733302d5093046ffa85 Mon Sep 17 00:00:00 2001 | ||
2 | From: Peiran Hong <peiran.hong@windriver.com> | ||
3 | Date: Thu, 5 Sep 2019 15:42:22 -0400 | ||
4 | Subject: [PATCH] Skip strip-trailing-cr test case | ||
5 | |||
6 | Skip the test "strip-trailing-cr" since it requires valgrind to | ||
7 | work, but valgrind is considered too heavy-weight for diffutils | ||
8 | package. | ||
9 | |||
10 | Upstream-Status: Inappropriate [embedded specific] | ||
11 | |||
12 | Signed-off-by: Peiran Hong <peiran.hong@windriver.com> | ||
13 | --- | ||
14 | tests/Makefile.am | 4 +++- | ||
15 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/tests/Makefile.am b/tests/Makefile.am | ||
18 | index 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 | -- | ||
34 | 2.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 | ||
6 | SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz \ | 6 | SRC_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 | ||
10 | SRC_URI[md5sum] = "4824adc0e95dbbf11dfbdfaad6a1e461" | 11 | SRC_URI[md5sum] = "4824adc0e95dbbf11dfbdfaad6a1e461" |
@@ -17,7 +18,7 @@ acpaths = "-I ./m4" | |||
17 | 18 | ||
18 | inherit ptest | 19 | inherit ptest |
19 | 20 | ||
20 | RDEPENDS_${PN}-ptest += "make" | 21 | RDEPENDS_${PN}-ptest += "make perl" |
21 | 22 | ||
22 | do_install_ptest() { | 23 | do_install_ptest() { |
23 | t=${D}${PTEST_PATH} | 24 | t=${D}${PTEST_PATH} |