Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <options.h>
Data Fields | |
enum criterion_logging_level | logging_threshold |
struct criterion_logger * | logger |
bool | no_early_exit |
bool | always_succeed |
bool | use_ascii |
bool | fail_fast |
const char * | pattern |
bool | short_filename |
size_t | jobs |
bool | measure_time |
bool | wait_for_clients |
bool | crash |
enum criterion_debugger | debug |
unsigned | debug_port |
double | timeout |
bool | full_stats |
char | encoding [64] |
bool | color |
bool | ignore_warnings |
const char * | executable_name |
Definition at line 70 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
bool criterion_options::always_succeed |
Always return a success from criterion_run_all_tests.
default: false
Definition at line 95 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
bool criterion_options::color |
Whether the output should be colorized or not.
default: terminal-deduced.
Definition at line 212 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
bool criterion_options::crash |
Raise a debug trap to crash the test if an assert fails so that a debugger can gain control.
default: false
Definition at line 157 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
enum criterion_debugger criterion_options::debug |
Whether criterion should run its tests in a debugging server.
The server hangs until a connection from a debugger gets accepted.
This forces jobs = 1 and crash = true.
default: CR_DBG_NONE;
Definition at line 168 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
unsigned criterion_options::debug_port |
The TCP port of the debugging server.
default: 1234
Definition at line 175 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
char criterion_options::encoding[64] |
The output encoding to assume.
This is used to know whether we should use special characters to make the output prettier.
default: locale-deduced, or ANSI_X3.4-1968.
Definition at line 205 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
const char* criterion_options::executable_name |
Definition at line 222 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
bool criterion_options::fail_fast |
Exit immediately after the first test failure.
default: false
Definition at line 111 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
bool criterion_options::full_stats |
Fully report statistics from test workers, including those that are not reported by default (like passing assertions).
Reporting everything leads to more accurate reports at the cost of execution speed.
default: false
Definition at line 195 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
bool criterion_options::ignore_warnings |
When false, warnings will make criterion exit with a nonzero exit status (e.g. when a test crashes during its teardown).
default: false
Definition at line 220 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
size_t criterion_options::jobs |
The maximum number of parallel jobs that the test runner will spawn. 0 means that this number shall be the number of cores on your system.
default: 0
Definition at line 135 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
struct criterion_logger* criterion_options::logger |
The logger that will be used during the execution of the runner.
default: normal logger
Definition at line 83 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
enum criterion_logging_level criterion_options::logging_threshold |
The current logging threshold.
default: 1
Definition at line 76 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
bool criterion_options::measure_time |
Measure and report times.
default: true
Definition at line 142 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
bool criterion_options::no_early_exit |
This option doesn't do anything and is deprecated.
Definition at line 88 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
const char* criterion_options::pattern |
Disable all tests not matching this extglob pattern. if NULL, don't filter tests.
default: NULL
Definition at line 119 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
bool criterion_options::short_filename |
Only print the base file name compound of the source file containing the tests during reporting.
default: false
Definition at line 127 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
double criterion_options::timeout |
The default timeout for each test when none is specified, in seconds.
If the value is non-positive, no timeout is applied.
default: 0
Definition at line 184 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
bool criterion_options::use_ascii |
Disable unicode and ansi coloring from the logging system.
This is deprecated. Set the color and the encoding fields instead.
default: false
Definition at line 104 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.
bool criterion_options::wait_for_clients |
Whether criterion should wait for incoming connections in server mode
default: false
Definition at line 149 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.