On Fri, Nov 03, 2023 at 12:05:42PM +0100, Thomas Haller wrote: > There are new new make targets: > > - "build-all" > - "check" (runs "normal" tests, like unit tests and "tools/check-tree.sh"). > - "check-more" (runs extra tests, like "tests/build") > - "check-all" (runs "check" + "check-more") > - "check-local" (a subset of "check") > - "check-TESTS" (the unit tests) > > The unit tests have a test runner "tools/test-runner.sh". See > `tools/test-runner.sh -h` for options, like valgrind, GDB, or make. > It also runs the test in a separate namespace (rootless). > > To run unit tests only, `make check-TESTS` or `tools/test-runner.sh > tests/unit/test-libnftables-static -m`. > > The unit tests are of course still empty. "tests/unit" is the place > where tests shall be added. Thanks a lot for improving tests infrastructure.