mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-12 10:04:14 +02:00
19d9941367
Build pgbackrest binary and auto-generated code automatically. Remove --module option and allow modules to run by parameter. This is less verbose and multiple modules can be run at a time. Allow filtering of modules. Multiple tests can be passed as parameters and if the module ends in / it will be used as a prefix filter. For example, common/ will run all the common modules. If a test errors the remaining tests will still run but the test process will eventually exit with an error. CI tests are included but unit tests remain on the development branch. With these changes all unit tests run except those that specify the define (e.g. common/assert-off) or containerReq (e.g. protocol/protocol) keywords. Building the C test harness has been simplified: meson -Dwerror=true -Dfatal-errors=true -Dbuildtype=debug test/build/none pgbackrest ninja -C test/build/none test/src/test-pgbackrest To run all modules: test/build/none/test/src/test-pgbackrest test Just the common/error module: test/build/none/test/src/test-pgbackrest test common/error All info modules: test/build/none/test/src/test-pgbackrest test info/ |
||
---|---|---|
.. | ||
workflows | ||
ISSUE_TEMPLATE.md | ||
pull_request_template.md |