Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Macros | Functions | Variables
catch2_my_main.cpp File Reference
#include <catch2/catch_amalgamated.hpp>
Include dependency graph for catch2_my_main.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CATCH2_MY_MAIN_H
 
#define CATCH_AMALGAMATED_CUSTOM_MAIN   1
 

Functions

int main (int argc, char *argv[])
 

Variables

bool catch_auto_run
 Run w/o command-line args, i.e. More...
 
bool catch_perf_analysis
 Run w/ command-line arg '–perf_analysis'. More...
 
std::string executable_path
 The main argv[0] test executable path. More...
 
static char * extra_args [] = { (char*)"--colour-mode", (char*)"none" }
 
static int extra_args_c = sizeof(extra_args) / sizeof(const char *)
 

Macro Definition Documentation

◆ CATCH2_MY_MAIN_H

#define CATCH2_MY_MAIN_H

Definition at line 34 of file catch2_my_main.cpp.

◆ CATCH_AMALGAMATED_CUSTOM_MAIN

#define CATCH_AMALGAMATED_CUSTOM_MAIN   1

Definition at line 36 of file catch2_my_main.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 51 of file catch2_my_main.cpp.

Variable Documentation

◆ executable_path

std::string executable_path

The main argv[0] test executable path.

Definition at line 40 of file catch2_my_main.cpp.

◆ catch_auto_run

bool catch_auto_run

Run w/o command-line args, i.e.

default CI unit test.

Examples
test_cow_darray_perf01.cpp.

Definition at line 43 of file catch2_my_main.cpp.

◆ catch_perf_analysis

bool catch_perf_analysis

Run w/ command-line arg '–perf_analysis'.

Examples
test_cow_darray_perf01.cpp.

Definition at line 46 of file catch2_my_main.cpp.

◆ extra_args

char* extra_args[] = { (char*)"--colour-mode", (char*)"none" }
static

Definition at line 48 of file catch2_my_main.cpp.

◆ extra_args_c

int extra_args_c = sizeof(extra_args) / sizeof(const char *)
static

Definition at line 49 of file catch2_my_main.cpp.