mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-27 20:50:07 +01:00
test: print the full test result in the list of failed tests
When running several tests simply having the list of failed test names is not very convenient. The actual error may be thousands of lines north and worse, meson only prints the last 100 lines of a test log by default. So let's print the full test data including backtrace etc. at the end instead. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1189>
This commit is contained in:
parent
6720c6899f
commit
95406b2182
1 changed files with 1 additions and 1 deletions
|
|
@ -1049,7 +1049,7 @@ litest_runner_run_tests(struct litest_runner *runner)
|
|||
case LITEST_FAIL:
|
||||
case LITEST_SYSTEM_ERROR:
|
||||
case LITEST_TIMEOUT:
|
||||
fprintf(runner->fp, " - \"%s\"\n", t->desc.name);
|
||||
litest_runner_log_test_result(runner, t);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue