[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

Appendix A Environment Variable Reference

This is a reference to environment variables that Check recognized and their use.

CK_RUN_CASE: Name of a test case, runs only that test. See section Selective Running of Tests.

CK_RUN_SUITE: Name of a test suite, runs only that suite. See section Selective Running of Tests.

CK_INCLUDE_TAGS: String of space separated tags, runs only test cases associated with at least one of the tags, See section Selecting Tests Based on Arbitrary Tags.

CK_EXCLUDE_TAGS: String of space separated tags, runs only test cases not associated with any of the tags, See section Selecting Tests Based on Arbitrary Tags.

CK_VERBOSITY: How much output to emit, accepts: “silent”, “minimal”, “normal”, “subunit”, or “verbose”. See section SRunner Output.

CK_FORK: Set to “no” to disable using fork() to run unit tests in their own process. This is useful for debugging segmentation faults. See section No Fork Mode.

CK_DEFAULT_TIMEOUT: Override Check’s default unit test timeout, a floating value in seconds. “0” means no timeout. See section Test Timeouts.

CK_TIMEOUT_MULTIPLIER: A multiplier used against the default unit test timeout. An integer, defaults to “1”. See section Test Timeouts.

CK_LOG_FILE_NAME: Filename to write logs to. See section Test Logging.

CK_XML_LOG_FILE_NAME: Filename to write XML log to. See section XML Logging.

CK_TAP_LOG_FILE_NAME: Filename to write TAP (Test Anything Protocol) output to. See section TAP Logging.

CK_MAX_MSG_SIZE: Maximal assertion message size.


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated on October 20, 2017 using texi2html 5.0.