Home | History | Annotate | Download | only in make
History log of /src/usr.bin/make/test-variants.mk
RevisionDateAuthorComments
 1.9  25-Jun-2024  rillig 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.
 1.8  25-May-2024  rillig make: fix a few more memory leaks
 1.7  24-May-2024  rillig 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.
 1.6  01-Mar-2024  rillig make: remove test variant for NO_REGEX

The compile-time toggle was removed in var.c 1.1099 from 2024-02-07.
 1.5  19-Jan-2023  rillig tests/make: add tests for whitespace in leading '@+-'
 1.4  08-May-2022  rillig make: remove test variant without GMAKEEXPORT

Undefining GMAKEEXPORT on the command line had no effect, since that
macro is defined unconditionally in config.h.
 1.3  03-May-2022  rillig make: remove test scenarios for old GCC versions

These had been useful for NetBSD 8, which used GCC 5.
 1.2  03-Mar-2022  rillig tests/make: test variant without filemon
 1.1  05-Feb-2022  rillig 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'.

RSS XML Feed