Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
options.h File Reference

criterion options More...

#include <stdbool.h>
#include "logging.h"
#include "internal/common.h"

Go to the source code of this file.

Data Structures

struct  criterion_options
 

Enumerations

enum  criterion_debugger {
  CR_DBG_NONE , CR_DBG_IDLE , CR_DBG_NATIVE , CR_DBG_GDB ,
  CR_DBG_LLDB , CR_DBG_WINDBG
}
 

Variables

CR_BEGIN_C_API CR_API struct criterion_options criterion_options
 

Detailed Description

Enumeration Type Documentation

◆ criterion_debugger

Enumerator
CR_DBG_NONE 

Do not run the underlying test in a debugger

CR_DBG_IDLE 

Run the test suspended, without a debugger, and print its PID.

Allows external debuggers to attach.

CR_DBG_NATIVE 

Run the test with a debugging server compatible with the compiler it was built with.

CR_DBG_GDB 

Run the test with gdbserver

CR_DBG_LLDB 

Run the test with lldb-server

CR_DBG_WINDBG 

Run the test with windbg in server mode

Definition at line 35 of file 2xpcmdrzviw89gzpf8p7l7691wk51i89-criterion-2.4.2-dev/include/criterion/options.h.

35 {
36 /**
37 * Do not run the underlying test in a debugger
38 */
40
41 /**
42 * Run the test suspended, without a debugger, and print its PID.
43 *
44 * Allows external debuggers to attach.
45 */
47
48 /**
49 * Run the test with a debugging server compatible with the compiler
50 * it was built with.
51 */
53
54 /**
55 * Run the test with gdbserver
56 */
58
59 /**
60 * Run the test with lldb-server
61 */
63
64 /**
65 * Run the test with windbg in server mode
66 */
68};

Variable Documentation

◆ criterion_options

CR_BEGIN_C_API CR_API struct criterion_options criterion_options
extern

The runtime options for the test runner.