mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-12 10:04:14 +02:00
f9bbafbf3f
Add harness depends when present. Include libyaml in all test builds. Fix mode on paths before trying to remove and set test path with mode 770 to match the Perl test harness. With these changes all unit tests run except those that specify the define (e.g. common/assert-off), binReq (e.g. command/archive-get), or containerReq (e.g. protocol/protocol) keywords. Builds and code generation need to be done in advance. The following commands are required for setup: meson setup -Dwerror=true -Dfatal-errors=true -Dbuildtype=debug build pgbackrest ninja -C build test/src/test-pgbackrest build/src/build-code help pgbackrest build/src/build-code postgres pgbackrest Now tests can be run, e.g.: build/test/src/test-pgbackrest --module=postgres/interface |
||
---|---|---|
.. | ||
certificate | ||
code-count | ||
data | ||
lib/pgBackRestTest | ||
patch | ||
src | ||
.gitignore | ||
ci.pl | ||
container.yaml | ||
define.yaml | ||
Dockerfile | ||
test.pl | ||
Vagrantfile |