]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
unit-tests: Document the supported env variables
authorMartin Willi <martin@revosec.ch>
Thu, 13 Feb 2014 07:59:28 +0000 (08:59 +0100)
committerMartin Willi <martin@revosec.ch>
Wed, 30 Apr 2014 15:22:48 +0000 (17:22 +0200)
src/libstrongswan/tests/test_runner.h

index 643b622e5d34bb2c1d31124b1ab229fb9d68a2f3..de87a1f0fe5d67b72a0cb34e9669e3f5a6b5c5c3 100644 (file)
@@ -64,7 +64,13 @@ struct test_configuration_t {
 /**
  * Run test configuration.
  *
- * The configs array must be terminated with a NULL element.
+ * 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_STRONGSWAN_CONF: Specify a path to a custom strongswan.conf
+ * - TESTS_SUITES: Run specific test suites only
+ * - TESTS_REDUCED_KEYLENGTHS: Test minimal keylengths for public key tests only
  *
  * @param name                 name of test runner
  * @param config               test suite constructors with dependencies