Debian Codegraph @

doc/man/man1/cgreen-debug.1

raw
1 .TH CGREEN-DEBUG 1
2
3 .SH NAME
4 cgreen-debug \- start cgreen-runner under a debugger and break at a specific test
5
6 .SH SYNOPSIS
7 .B cgreen\-debug
8 [\fI\,OPTION\/\fR...]
9 \fILIBRARY\fR \fITEST\fR
10
11
12 .SH DESCRIPTION
13 .B cgreen-debug
14 is a script to start cgreen-runner under a debugger (primarily gdb), load a \fILIBRARY\fR
15 and break on a named \fITEST\fR. Where \fILIBRARY\fR is a filename of the shared library of
16 Cgreen tests, usually .so, .dll or .dylib, depending on your platform. \fITEST\fR is the
17 name of a test in that library in the format <context>:<test_name>.
18
19 .SS OPTIONS
20 .TP
21 .B "\-h, \-\-help"
22 Print some usage information and exit.
23
24 .TP
25 .B "\-d, \-\-debugger" debugger
26 Instead of default (gdb) use
27 .I debugger
28 as the debugger. Allowed values are "gdb", "cgdb", "lldb".
29
30 .SH "SEE ALSO"
31 cgreen(5)
32 cgreen-runner(1)
33
34 .PP
35 The full documentation for
36 .B cgreen-debug
37 and
38 .B the Cgreen framework
39 is in the
40 .B Cgreen
41 manual available at
42 .UR https://cgreen-devs.github.io/
43 GitHub
44 .UE .