1
0
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:
David Steele
2022-09-23 14:00:58 -07:00
parent cd8db7d9e5
commit f1e8e49fa9

View File

@@ -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,