make errors reported display more like GCC error messages, so editors

like Emacs can provide functions like "go to next error", etc.
This commit is contained in:
Fred L. Drake, Jr. 2005-01-28 16:16:14 +00:00
parent 99682bfd28
commit e2677da42c

View File

@ -108,8 +108,8 @@ add_failure(SRunner *runner, int verbosity)
{
runner->nfailures++;
if (verbosity >= CK_VERBOSE) {
printf("%s:%s:%d\n", _check_current_function,
_check_current_filename, _check_current_lineno);
printf("%s:%d: %s\n", _check_current_filename,
_check_current_lineno, _check_current_function);
}
}