diff options
author | Thomas Waldmann <tw@waldmann-edv.de> | 2020-10-10 23:12:47 +0200 |
---|---|---|
committer | Thomas Waldmann <tw@waldmann-edv.de> | 2020-10-31 22:04:44 +0100 |
commit | 49b142168276d8b8a74f419d75a480fb22557a9f (patch) | |
tree | 8b4e8108b40d6e67e051030904b464aeae315c71 /tox.ini | |
parent | d56c816cf25863f5a57e82d2f422f138774391f9 (diff) |
FUSE: support pyfuse3 additionally to llfuse, fixes #5407
FUSE implementation can be switched via env var BORG_FUSE_IMPL.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 19 |
1 files changed, 16 insertions, 3 deletions
@@ -2,16 +2,29 @@ # fakeroot -u tox --recreate [tox] -envlist = py{36,37,38,39},flake8 +envlist = py{36,37,38,39}-fuse{2,3}, flake8 [testenv] deps = - -rrequirements.d/development.txt - -rrequirements.d/fuse.txt + -rrequirements.d/development.txt commands = py.test -v -n {env:XDISTN:1} -rs --cov=borg --cov-config=.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite} # fakeroot -u needs some env vars: passenv = * +[testenv:py{36,37,38,39}-fuse2] +setenv = + BORG_FUSE_IMPL=llfuse +deps = + llfuse + {[testenv]deps} + +[testenv:py{36,37,38,39}-fuse3] +setenv = + BORG_FUSE_IMPL=pyfuse3 +deps = + pyfuse3 + {[testenv]deps} + [testenv:flake8] changedir = deps = |