tests: Show failure location for normal mode output as well
This commit is contained in:
parent
ef8d5bff85
commit
1e243aca3e
@ -150,7 +150,7 @@ handle_success(int verbosity) {
|
|||||||
static void
|
static void
|
||||||
handle_failure(SRunner *runner, int verbosity, const char *phase_info) {
|
handle_failure(SRunner *runner, int verbosity, const char *phase_info) {
|
||||||
runner->nfailures++;
|
runner->nfailures++;
|
||||||
if (verbosity >= CK_VERBOSE) {
|
if (verbosity != CK_SILENT) {
|
||||||
printf("FAIL: %s (%s at %s:%d)\n", _check_current_function, phase_info,
|
printf("FAIL: %s (%s at %s:%d)\n", _check_current_function, phase_info,
|
||||||
_check_current_filename, _check_current_lineno);
|
_check_current_filename, _check_current_lineno);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user