]> git.ipfire.org Git - thirdparty/systemd.git/commit
tests: add macro for generating function enter log message
authorLennart Poettering <lennart@poettering.net>
Mon, 13 Nov 2023 15:41:16 +0000 (16:41 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 13 Nov 2023 15:50:55 +0000 (16:50 +0100)
commit47a7a4d404366cf6efc89f7ea1bfe30b8a8d0299
treec5f17155b93d32f70285af30152d9b7c34040bb7
parentaa25e19b474bb08ab607b363f83f0626a96c8d85
tests: add macro for generating function enter log message

The test-tpm2 test multiplexes a bunch of tests from a single
entrypoint test that creates the TPM2 connection. This means we only get
the nice log output which test we are looking for once for the
entrypoint.

Let's add a macro that allows it to nicely generate it for the inner
tests too and use it.
src/shared/tests.h
src/test/test-tpm2.c