mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 01:37:20 +00:00
5173b9f407
1. BORG_*_PREFIX is checked (avoids lib detection via pkg-config). 2. pkg-config is tried 3. fallback to bundled C code (or failure in case of OpenSSL) also: - simplified code again - removed (c) headers, nothing left of original code
20 lines
503 B
INI
20 lines
503 B
INI
# tox configuration - if you change anything here, run this to verify:
|
|
# fakeroot -u tox --recreate
|
|
|
|
[tox]
|
|
envlist = py{35,36,37},flake8
|
|
|
|
[testenv]
|
|
deps =
|
|
-rrequirements.d/development.txt
|
|
-rrequirements.d/fuse.txt
|
|
commands = py.test -n {env:XDISTN:4} -rs --cov=borg --cov-config=.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
|
|
# fakeroot -u needs some env vars:
|
|
passenv = *
|
|
|
|
[testenv:flake8]
|
|
changedir =
|
|
deps =
|
|
flake8
|
|
pkgconfig
|
|
commands = flake8 src scripts conftest.py
|