commit 06152a7f1543a2bcf9197672576f240ac9e692d6
parent 700f0ef419acd8df91eb4a8cb7fd73a40e93b2d6
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Fri, 19 Jan 2024 15:52:42 +0100
tests/make: Unset MAKEFLAGS before testing -p
The result of -p will depend of the value of MAKEFLAGS and
the external make used to run the Makefile that runs all
the tests.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/make/execute/0015-pflag.sh b/tests/make/execute/0015-pflag.sh
@@ -5,6 +5,8 @@ trap 'rm -f $tmp1 $tmp2' EXIT INT QUIT HUP TERM
tmp1=tmp1.$$
tmp2=tmp2.$$
+unset MAKEFLAGS
+
cat > $tmp2 <<'EOF'
FC = fort77
@@ -13,7 +15,6 @@ MAKE = scc-make
ARFLAGS = -rv
LDFLAGS =
LEX = lex
-MAKEFLAGS =
CFLAGS = -O
YACC = yacc
CC = c99