summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/gettext/gettext/0001-tests-autopoint-3-unset-MAKEFLAGS.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/gettext/gettext/0001-tests-autopoint-3-unset-MAKEFLAGS.patch')
-rw-r--r--meta/recipes-core/gettext/gettext/0001-tests-autopoint-3-unset-MAKEFLAGS.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext/0001-tests-autopoint-3-unset-MAKEFLAGS.patch b/meta/recipes-core/gettext/gettext/0001-tests-autopoint-3-unset-MAKEFLAGS.patch
new file mode 100644
index 0000000000..94afb255c3
--- /dev/null
+++ b/meta/recipes-core/gettext/gettext/0001-tests-autopoint-3-unset-MAKEFLAGS.patch
@@ -0,0 +1,26 @@
1From 7006142d199af13628edc687847a9a5bac48b45d Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 7 Jan 2020 16:44:38 +0100
4Subject: [PATCH] tests/autopoint-3: unset MAKEFLAGS
5
6This is needed when running ptests, as the MAKEFLAGS value (set up by run-ptest)
7is messing up the test.
8
9Upstream-Status: Inappropriate [oe-core specific]
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11---
12 gettext-tools/tests/autopoint-3 | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/gettext-tools/tests/autopoint-3 b/gettext-tools/tests/autopoint-3
16index bd3fbf3..380eaac 100755
17--- a/gettext-tools/tests/autopoint-3
18+++ b/gettext-tools/tests/autopoint-3
19@@ -131,6 +131,7 @@ test $? = 0 || { cat autopoint.err; Exit 1; }
20 ${CONFIG_SHELL} ./configure >/dev/null 2>autpoint.err
21 test $? = 0 || { cat autopoint.err; Exit 1; }
22
23+unset MAKEFLAGS
24 ${MAKE} >/dev/null 2>autopoint.err
25 test $? = 0 || { cat autopoint.err; Exit 1; }
26