CVS log for src/usr.bin/make/unit-tests/archive.exp
Up to [cvs.NetBSD.org] / src / usr.bin / make / unit-tests
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jan 10 23:00:38 2025 UTC (10 days, 2 hours ago) by rillig
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +12 -0
lines
tests/make: test expressions based on undefined variables
When an undefined variable is used in a conditional, make complains about
"Malformed conditional", which is wrong since the conditional is
well-formed but errors out during evaluation.
In order to fix this wrong error message and preserve the remaining
behavior, cover the places in which an expression is evaluated with
undefined expressions being an error (VARE_EVAL_DEFINED), but with
neither producing an error message nor handling errors. This combination
results in the same behavior as evaluating the expressions in the mode
that allows undefined variables to be used in expressions.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Apr 27 20:23:22 2024 UTC (8 months, 3 weeks ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +8 -0
lines
tests/make: test detection of static library files
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Oct 9 06:44:42 2020 UTC (4 years, 3 months ago) by rillig
Branches: MAIN
CVS tags: netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
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
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -1
lines
make(1): use consistent order in .OODATE in test archive.mk
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Oct 8 18:37:26 2020 UTC (4 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +14 -0
lines
make(1): make individual targets in test archive.mk visible
This test still fails on FreeBSD, printing the "ar cru, ranlib" lines
twice, and I don't know why.
To get more insights into the inner details, without activating the full
-dA logging, split the output into paragraphs, one per target.
This change reveals another interesting detail: Dependencies without any
commands (in this case create-archive) don't inherit the commands from
.USEBEFORE and .USE sources.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Sep 4 17:03:17 2020 UTC (4 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -0
lines
make(1): fix expected file for archive test
This test is currently disabled, therefore it didn't fail immediately.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 23 17:51:24 2020 UTC (4 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -0
lines
make(1): in archive test, use wildcard that matches more than 1 file
This is to make sure that the buffer used for "archive(member)" is
properly reset after each member.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Aug 23 17:34:46 2020 UTC (4 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -0
lines
make(1): add test for wildcards in archive dependency
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Aug 16 14:39:50 2020 UTC (4 years, 5 months ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1
lines
make(1): fix archive test
At the beginning of that test, the library archive obviously does not
exist yet.
This test failure is a bit hard to detect since the test is disabled in
usr.bin/make, but not in tests/usr.bin/make. This is because the latter
just runs all .mk files as tests, no matter whether they are commented
out or not.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Jul 27 18:51:03 2020 UTC (4 years, 5 months ago) by rillig
Branches: MAIN
make(1): add very basic test for archive handling
The whole code in arch.c had been uncovered by tests before.
The code coverage shows that neither the archive name nor the member
contain any $, even though archive.mk looks like it. It could be
necessary to place the variable assignments below the dependency line,
to force late evaluation.
CVSweb <webmaster@jp.NetBSD.org>