scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 9a7ef2546be69f5b6d054eb0811df839749f618d
parent 17eda908a2eea78db338611b990413acf48d89d6
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon, 25 Nov 2024 12:46:13 +0100

tests/make: Ignore MAKE variable

As MAKE variable depends of how scc-make is executed then
it is impossible to provide a value that would worrk for any
possible execution, and for that reason is better to just
ignore that value that is tested in different tests due to
recursive execution.

Diffstat:
Mtests/make/execute/0015-pflag.sh | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/make/execute/0015-pflag.sh b/tests/make/execute/0015-pflag.sh @@ -10,7 +10,6 @@ unset MAKEFLAGS (cat > $tmp2) <<'EOF' FC = fort77 YFLAGS = -MAKE = scc-make ARFLAGS = -rv LDFLAGS = LEX = lex @@ -73,7 +72,7 @@ all: EOF -(scc make -pf - > $tmp1 2>&1) <<'EOF' +(scc make -pf - | grep -v MAKE > $tmp1 2>&1) <<'EOF' all: EOF