summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-04-14 16:42:57 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-04-20 11:56:06 +0100
commit50cceeb62708dee11f4a36ac4cec1d26c7065f5d (patch)
tree57cf49bd0f2ec4e1bfd89874ff6ef63a85b4d2c9
parent66eab8234ce312f358bac2a67ea1fb50e7d67b08 (diff)
downloadpoky-50cceeb62708dee11f4a36ac4cec1d26c7065f5d.tar.gz
gawk: Remove redundant patch
This patch is doing the same things thats already being done in the do_install_ptest where the problematic tests are being deleted from final package. run-ptest script runs a find for available tests and runs each test target found during run therefore its enough to remove them from final install. (From OE-Core rev: 4a32ad54d6c051fe387c67721cf96eb851ecd835) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/gawk/gawk/remove-sensitive-tests.patch43
-rw-r--r--meta/recipes-extended/gawk/gawk_5.2.1.bb1
2 files changed, 0 insertions, 44 deletions
diff --git a/meta/recipes-extended/gawk/gawk/remove-sensitive-tests.patch b/meta/recipes-extended/gawk/gawk/remove-sensitive-tests.patch
deleted file mode 100644
index ffae55058b..0000000000
--- a/meta/recipes-extended/gawk/gawk/remove-sensitive-tests.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1From 354d24baf7c51977d22ff61ad42e6a2cbd4dc8ac Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com>
3Date: Tue, 21 Dec 2021 17:09:12 +0000
4Subject: [PATCH] gawk: remove load-sensitive tests
5
6These tests require an unloaded host as otherwise timing sensitive tests can fail
7https://bugzilla.yoctoproject.org/show_bug.cgi?id=14371
8
9Upstream-Status: Inappropriate
10Signed-off-by: Ross Burton <ross.burton@arm.com>
11
12---
13 test/Maketests | 10 ----------
14 1 file changed, 10 deletions(-)
15
16diff --git a/test/Maketests b/test/Maketests
17index 3a667af..f117697 100644
18--- a/test/Maketests
19+++ b/test/Maketests
20@@ -2137,11 +2137,6 @@ symtab12:
21 @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
22 @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
23
24-timeout:
25- @echo $@ $(ZOS_FAIL)
26- @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
27- @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
28-
29 typedregex1:
30 @echo $@
31 @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
32@@ -2371,11 +2366,6 @@ rwarray:
33 @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk < "$(srcdir)"/$@.in >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
34 @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
35
36-time:
37- @echo $@
38- @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
39- @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
40-
41 mpfrbigint:
42 @echo $@
43 @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk -M >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
diff --git a/meta/recipes-extended/gawk/gawk_5.2.1.bb b/meta/recipes-extended/gawk/gawk_5.2.1.bb
index bbb26231a1..c914326563 100644
--- a/meta/recipes-extended/gawk/gawk_5.2.1.bb
+++ b/meta/recipes-extended/gawk/gawk_5.2.1.bb
@@ -16,7 +16,6 @@ PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline"
16PACKAGECONFIG[mpfr] = "--with-mpfr,--without-mpfr, mpfr" 16PACKAGECONFIG[mpfr] = "--with-mpfr,--without-mpfr, mpfr"
17 17
18SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \ 18SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \
19 file://remove-sensitive-tests.patch \
20 file://run-ptest \ 19 file://run-ptest \
21 " 20 "
22 21