diff options
author | drebs <drebs@leap.se> | 2017-07-27 17:12:04 -0300 |
---|---|---|
committer | Victor Shyba <victor1984@riseup.net> | 2017-09-11 16:24:30 -0300 |
commit | 99cffc7388d53f9aaf5b8890401ba8ddc5b29178 (patch) | |
tree | f98282d0818ebe048b49ffc0112a1843305497a2 /testing/tox.ini | |
parent | 70aa789c94b0dcced535cee86243e2dd4113b28a (diff) |
[benchmarks] add responsiveness test with watchdog
Diffstat (limited to 'testing/tox.ini')
-rw-r--r-- | testing/tox.ini | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/testing/tox.ini b/testing/tox.ini index cbfa7dde..6bc82b8e 100644 --- a/testing/tox.ini +++ b/testing/tox.ini @@ -6,7 +6,7 @@ skipsdist=True basepython = python2.7 commands = ./ensure-pysqlcipher-has-usleep.sh - py.test -x --ignore=tests/benchmarks \ + py.test -x --ignore=tests/benchmarks --ignore=tests/responsiveness \ --cov-report=html \ --cov-report=term \ --cov=leap.soledad \ @@ -37,7 +37,7 @@ install_command = pip install {opts} {packages} [testenv:py34] basepython = python3.4 -commands = py.test --ignore=tests/benchmarks \ +commands = py.test --ignore=tests/benchmarks --ignore=tests/responsiveness \ --cov-report=html \ --cov-report=term \ --cov=leap.soledad \ @@ -80,6 +80,13 @@ commands = py.test --benchmark-only --watch-memory {posargs} passenv = HOST_HOSTNAME +[testenv:responsiveness] +deps = + {[testenv:benchmark]deps} +commands = + ./ensure-pysqlcipher-has-usleep.sh + pytest -m responsiveness {posargs} + [testenv:code-check] changedir = .. deps = |