From e9e90199ea43ab9f48ced4347b6ad95e70fa08ca Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Tue, 26 Jul 2022 10:23:48 +0300 Subject: [PATCH] Just allow passing extra args directly to perf from tox. --- tox.ini | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 4a60c81d8..f80b593b4 100644 --- a/tox.ini +++ b/tox.ini @@ -35,10 +35,8 @@ commands = codecov: {envpython} -m coverage xml -o {envtmpdir}/coverage.xml codecov: codecov --required --disable gcov --file {envtmpdir}/coverage.xml - perf,perfsuite: mkdir {envtmpdir}/benchmarks/ - perf: {envpython} {toxinidir}/jsonschema/benchmarks/issue232.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/issue232.json - perf: {envpython} -m pyperf stats {envtmpdir}/benchmarks/issue232.json - perfsuite: {envpython} {toxinidir}/jsonschema/benchmarks/json_schema_test_suite.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/json_schema_test_suite.json + perf: {envpython} {toxinidir}/jsonschema/benchmarks/issue232.py --inherit-environ JSON_SCHEMA_TEST_SUITE {posargs:--output {envtmpdir}/bench-issue232.json} + perfsuite: {envpython} {toxinidir}/jsonschema/benchmarks/json_schema_test_suite.py --inherit-environ JSON_SCHEMA_TEST_SUITE {posargs:--output {envtmpdir}/bench-json_schema_test_suite.json} build: {envpython} -m build {toxinidir} --outdir {envtmpdir}/dist deps =