Report failure from CUnit only on test failure
Non-automated mode too should allow running a subset of the tests without reporting failure. Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
0426e4b355
commit
8cbd67c32b
1 changed files with 1 additions and 0 deletions
|
@ -222,6 +222,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
CU_automated_run_tests();
|
||||
} else {
|
||||
CU_set_fail_on_inactive(0);
|
||||
CU_basic_set_mode(opts.mode);
|
||||
CU_basic_run_tests();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue