The NetBSD Project

CVS log for src/usr.bin/make/unit-tests/cond-undef-lint.exp

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / make / unit-tests

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6 / (download) - annotate - [select for diffs], Thu Jun 1 20:56:35 2023 UTC (9 months ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +7 -7 lines
Diff to previous 1.5 (colored)

tests/make: force line-based diagnostics to be listed in the tests

This way, contradictions between the intended output and the actual
output are closer together and have a better chance of being spotted.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 14 20:49:09 2023 UTC (12 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.4: +3 -0 lines
Diff to previous 1.4 (colored)

make: don't interpret the return value of Var_Parse

The return value of Var_Parse is largely redundant to the returned
string.  The idea behind the type VarParseResult was to migrate all call
sites to checking this return value instead of the returned string, but
that hasn't happened.  Instead, the additional type only added more
complexity.

There was a single place where that return value was actually used, when
parsing conditions.  And even in that case, ignoring the VarParseResult
added back an error message that previously hid bugs, in the test
cond-token-plain.mk.

Even though these error messages are redundant in the other tests, they
don't hurt as they don't happen often.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Nov 15 14:58:14 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

make(1): add remarks to the tests about conditions

Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 14 07:13:29 2020 UTC (3 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

make(1): remove obsolete comments from tests

Revision 1.2 / (download) - annotate - [select for diffs], Mon Sep 14 07:04:56 2020 UTC (3 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.1: +0 -1 lines
Diff to previous 1.1 (colored)

make(1): don't require nested variables to be defined in conditions

This code only applies to lint mode (-dL) for now.  After a test phase
and a thorough check for possible side effects, it will be activated in
normal mode, too.  Having this code in lint mode is required to run
src/build.sh, which relies a lot on using variables with undefined
nested variables in conditions.

In the default mode, any errors about nested undefined variables are not
printed since in Var_Subst, oldVars is true.  Therefore, it is not urgent
to properly handle these nested variables correctly there.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 14 06:44:50 2020 UTC (3 years, 5 months ago) by rillig
Branch: MAIN

make(1): add test for undefined expressions in conditions in lint mode

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>