fix: set criterion_options.debug to CR_DBG_NATIVE
criterion_options.debug was not set if no argument was given. According to the docs the native debugger should used, so this member has to be set to CR_DBG_NATIVE
This commit is contained in:
parent
cfd3212a4a
commit
1e28ad1277
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ static int parse_dbg_transport(const char *arg)
|
|||
static int parse_dbg(const char *arg)
|
||||
{
|
||||
if (!arg)
|
||||
return CR_DBG_NATIVE;
|
||||
return criterion_options.debug = CR_DBG_NATIVE;
|
||||
|
||||
static struct { char *name; enum criterion_debugger dbg; } values[] = {
|
||||
{ "gdb", CR_DBG_GDB },
|
||||
|
|
Loading…
Add table
Reference in a new issue