From: Tobias Brunner Date: Mon, 10 Feb 2025 14:41:52 +0000 (+0100) Subject: unit-tests: Document additional supported env variables X-Git-Tag: android-2.5.3~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19925fd89346ecab37430f35641be05e82684b8a;p=thirdparty%2Fstrongswan.git unit-tests: Document additional supported env variables --- diff --git a/src/libstrongswan/tests/test_runner.h b/src/libstrongswan/tests/test_runner.h index e53676daad..0ede71856e 100644 --- a/src/libstrongswan/tests/test_runner.h +++ b/src/libstrongswan/tests/test_runner.h @@ -68,17 +68,28 @@ struct test_configuration_t { * The configs array must be terminated with a NULL element. The following * environment variables are currently supported: * - * - TESTS_VERBOSITY: Numerical loglevel for debug log + * - TESTS_VERBOSITY: Numerical loglevel for debug log (all groups) + * - TESTS_VERBOSITY_: Numerical loglevel for debug log + * - TESTS_TIMING: Show timing information for each test case and iteration * - TESTS_STRONGSWAN_CONF: Specify a path to a custom strongswan.conf * - TESTS_PLUGINS: Specify an explicit list of plugins to load * - TESTS_RUNNERS: Run specific test runners only * - TESTS_SUITES: Run specific test suites only * - TESTS_SUITES_EXCLUDE: Don't run specific test suites + * - TESTS_CASES: Run specific test cases only + * - TESTS_CASES_EXCLUDE: Don't run specific test cases + * - TESTS_FUNCTIONS: Run specific test functions only + * - TESTS_FUNCTIONS_EXCLUDE: Don't run specific test functions + * - TESTS_ITERATIONS: List of iterations of loop-based functions to run only + * - TESTS_NO_IPV6: Disable IPv6 test cases * - TESTS_REDUCED_KEYLENGTHS: Test minimal keylengths for public key tests only * * Please note that TESTS_PLUGINS actually must be implemented by the init * callback function, as plugin loading is delegated. * + * Note that TESTS_NO_IPV6 and TESTS_REDUCED_KEYLENGTHS have to be implemented + * appropriately by test suites. + * * EXIT_SUCCESS is returned right away if TESTS_RUNNERS is defined but the name * passed to this function is not contained in it. *