summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/automake/automake/buildtest.patch
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-08 20:17:53 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-09 09:17:03 -0800
commit08e76acbafde2ff2c32d334cbffa3e7dad29554b (patch)
tree7268592dc52d774d923e2b2a4014a8ad1bf6d6bb /meta/recipes-devtools/automake/automake/buildtest.patch
parent98e78f2e49bf3a77281fd581b0f1a5803615ef94 (diff)
downloadpoky-08e76acbafde2ff2c32d334cbffa3e7dad29554b.tar.gz
automake: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: d29d95e627b2303b835a705cb7d55d1e41ddb0a7) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/automake/automake/buildtest.patch')
-rw-r--r--meta/recipes-devtools/automake/automake/buildtest.patch32
1 files changed, 17 insertions, 15 deletions
diff --git a/meta/recipes-devtools/automake/automake/buildtest.patch b/meta/recipes-devtools/automake/automake/buildtest.patch
index 1dd5337849..c32cd1fb11 100644
--- a/meta/recipes-devtools/automake/automake/buildtest.patch
+++ b/meta/recipes-devtools/automake/automake/buildtest.patch
@@ -4,21 +4,23 @@ be run separately.
4Signed-off-by: Björn Stenberg <bjst@enea.com> 4Signed-off-by: Björn Stenberg <bjst@enea.com>
5Upstream-Status: Pending 5Upstream-Status: Pending
6 6
7--- a/lib/am/check.am 2012-11-14 13:46:16.335475995 +0100 7Index: automake-1.15.1/lib/am/check.am
8+++ b/lib/am/check.am 2012-08-13 18:40:12.000000000 +0200 8===================================================================
9@@ -44,7 +44,7 @@ 9--- automake-1.15.1.orig/lib/am/check.am
10 am__tty_colors = $(am__tty_colors_dummy) 10+++ automake-1.15.1/lib/am/check.am
11 endif !%?COLOR% 11@@ -41,7 +41,7 @@ am__tty_colors = { \
12 12 fi; \
13 }
14
13-.PHONY: check-TESTS 15-.PHONY: check-TESTS
14+.PHONY: check-TESTS buildtest-TESTS runtest-TESTS 16+.PHONY: check-TESTS buildtest-TESTS runtest-TESTS
15 17
16 if %?PARALLEL_TESTS% 18 if !%?SERIAL_TESTS%
17 19
18@@ -465,7 +465,14 @@ 20@@ -466,7 +466,14 @@ else %?SERIAL_TESTS%
19 21
20 else !%?PARALLEL_TESTS% 22 ## Obsolescent serial testsuite driver.
21 23
22-check-TESTS: $(TESTS) 24-check-TESTS: $(TESTS)
23+AM_RECURSIVE_TARGETS += buildtest runtest 25+AM_RECURSIVE_TARGETS += buildtest runtest
24+ 26+
@@ -28,6 +30,6 @@ Upstream-Status: Pending
28+ $(MAKE) $(AM_MAKEFLAGS) runtest-TESTS 30+ $(MAKE) $(AM_MAKEFLAGS) runtest-TESTS
29+ 31+
30+runtest-TESTS: 32+runtest-TESTS:
31 @failed=0; all=0; xfail=0; xpass=0; skip=0; \ 33 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
32 srcdir=$(srcdir); export srcdir; \ 34 srcdir=$(srcdir); export srcdir; \
33 ## Make sure Solaris VPATH-expands all members of this list, even 35 ## Make sure Solaris VPATH-expands all members of this list, even