The NetBSD Project

CVS log for src/usr.bin/make/test-variants.mk

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jun 25 05:18:38 2024 UTC (5 months, 2 weeks ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +9 -2 lines
make: fix invalid-free for custom shell definitions

Don't try to free a pointer that is taken from the middle of a string,
in this case a shell specification.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat May 25 00:00:25 2024 UTC (6 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1 lines
make: fix a few more memory leaks

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri May 24 23:02:46 2024 UTC (6 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -1 lines
make: in -DCLEANUP mode, free variables and their values

The variables in the 3 scopes must be freed before the scopes themselves
are freed by Targ_End.

The test opt-m-include-dir creates a directory of the form '*.tmp', thus
it must be removed before attempting to only remove regular files of
this name.

POSIX requires setenv to copy the passed name and value, so there is no
need to keep that memory allocated any longer.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Mar 1 17:47:05 2024 UTC (9 months, 1 week ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -10 lines
make: remove test variant for NO_REGEX

The compile-time toggle was removed in var.c 1.1099 from 2024-02-07.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jan 19 19:55:27 2023 UTC (22 months, 3 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
tests/make: add tests for whitespace in leading '@+-'

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun May 8 19:19:11 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
CVS tags: netbsd-10-base, 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
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -7 lines
make: remove test variant without GMAKEEXPORT

Undefining GMAKEEXPORT on the command line had no effect, since that
macro is defined unconditionally in config.h.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue May 3 19:05:34 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +29 -36 lines
make: remove test scenarios for old GCC versions

These had been useful for NetBSD 8, which used GCC 5.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Mar 3 20:03:19 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +11 -1 lines
tests/make: test variant without filemon

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Feb 5 00:20:48 2022 UTC (2 years, 10 months ago) by rillig
Branches: MAIN
tests/make: migrate test-variants.sh from shell to make

Using a makefile for defining the test variants allows running several
test variants individually, instead of using a single filter expression.

The test variants can be configured more fine-grained.  It is possible
to exclude a few test cases per variant, which is useful for no-regex, a
compile-time switch for excluding the variable modifier ':C'.

Fix the definitions for the C90 tests.  Previously they didn't override
the compiler option '-Wsystem-headers', thereby complaining about usage
of 'long long'.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>