You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-09-16 09:06:18 +02:00
Use large error/log buffers in test harness.
Ninja produces quite a bit of output so error messages are often truncated by the default error/log buffers. Use large buffers in the test harness to capture the error even when there is a lot of output. Ninja has introduced a --quiet option, but it is currently too new to be in any of our test distributions.
This commit is contained in:
@@ -56,6 +56,11 @@ executable(
|
||||
test_help_auto_c_inc,
|
||||
test_parse_auto_c_inc,
|
||||
include_directories: include_directories('.', '../../src'),
|
||||
c_args: [
|
||||
# Use large buffer sizes to capture large error/log outputs
|
||||
'-DERROR_MESSAGE_BUFFER_SIZE=262144',
|
||||
'-DLOG_BUFFER_SIZE=262144',
|
||||
],
|
||||
dependencies: [
|
||||
lib_bz2,
|
||||
lib_yaml,
|
||||
|
Reference in New Issue
Block a user