]> arthur.barton.de Git - bup.git/commit
Teach pytest to handle WVSKIP and use it where we can
authorRob Browning <rlb@defaultvalue.org>
Sat, 4 Dec 2021 18:32:50 +0000 (12:32 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sun, 5 Dec 2021 20:26:53 +0000 (14:26 -0600)
commitc8301efc5911ab5af83e567aaa6c755f8f91c681
treece0d7d7bd7a2dcb5e652789e0c512e191be294b7
parent401bbf4e6a8048ec8d3e047451bc3a3dde6adaac
Teach pytest to handle WVSKIP and use it where we can

Have pytest scan the wvtest output for skip messages, and for now,
treat the whole test as skipped if we find any.  This means that
for now WVSKIP can only be used as an up-front guard, but that's all
we need in most cases.

This should help make it more likely that we'll notice when tests are
unexpectedly skipped.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
12 files changed:
test/ext/conftest.py
test/ext/test-fuse
test/ext/test-import-duplicity
test/ext/test-import-rdiff-backup
test/ext/test-index-check-device
test/ext/test-meta
test/ext/test-restore-map-owner
test/ext/test-save-restore
test/ext/test-save-strip-graft
test/ext/test-sparse-files
test/ext/test-web
test/ext/test-xdev