tests: teach tests boilerplate to run selected tests only
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Jun 2023 13:02:59 +0000 (15:02 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 22 Jun 2023 14:07:57 +0000 (16:07 +0200)
commitf1a83e41ae985bd17056b3a9fe285cc196358183
tree3a1d4d33ce8aca92a9cfcaa9d3cd36a5c4e75b4d
parent58373cebb8e68822d087a8020a42a82d2cbe7deb
tests: teach tests boilerplate to run selected tests only

sometimes its useful to only run a specific test (or multiple) instead
of all implemented in a test. Allow the test name(s) to be specified on the
in a $TESTFUNCS env var, separated by colons.
src/shared/tests.h