summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/gettext/gettext-0.20.2/0001-tests-autopoint-3-unset-MAKEFLAGS.patch
blob: b0bc6b97a63fd1f64e094ce3cbb8b84ff462b49b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 38b256e5aa7dfeb42acffd89565e53a2c0bab3e3 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 7 Jan 2020 16:44:38 +0100
Subject: [PATCH] tests/autopoint-3: unset MAKEFLAGS

This is needed when running ptests, as the MAKEFLAGS value (set up by run-ptest)
is messing up the test.

Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 gettext-tools/tests/autopoint-3 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gettext-tools/tests/autopoint-3 b/gettext-tools/tests/autopoint-3
index e13552b..55188df 100755
--- a/gettext-tools/tests/autopoint-3
+++ b/gettext-tools/tests/autopoint-3
@@ -126,6 +126,7 @@ test $? = 0 || { cat autopoint.err; Exit 1; }
 ${CONFIG_SHELL} ./configure >/dev/null 2>autpoint.err
 test $? = 0 || { cat autopoint.err; Exit 1; }
 
+unset MAKEFLAGS
 ${MAKE} >/dev/null 2>autopoint.err
 test $? = 0 || { cat autopoint.err; Exit 1; }