mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
python: drop avocado
Avocado-framework is no longer used for anything, so it can be removed. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-ID: <20260226213400.1254014-4-jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
@@ -108,8 +108,6 @@ Files in this directory
|
||||
|
||||
- ``qemu/`` Python 'qemu' namespace package source directory.
|
||||
- ``tests/`` Python package tests directory.
|
||||
- ``avocado.cfg`` Configuration for the Avocado test-runner.
|
||||
Used by ``make check`` et al.
|
||||
- ``Makefile`` provides some common testing/installation invocations.
|
||||
Try ``make help`` to see available targets.
|
||||
- ``MANIFEST.in`` is read by python setuptools, it specifies additional files
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
[run]
|
||||
test_runner = nrunner
|
||||
|
||||
[simpletests]
|
||||
# Don't show stdout/stderr in the test *summary*
|
||||
status.failure_fields = ['status']
|
||||
|
||||
[job]
|
||||
# Don't show the full debug.log output; only select stdout/stderr.
|
||||
output.testlogs.logfiles = ['stdout', 'stderr']
|
||||
|
||||
# Show full stdout/stderr only on tests that FAIL
|
||||
output.testlogs.statuses = ['FAIL']
|
||||
@@ -35,7 +35,6 @@ install_requires =
|
||||
[options.extras_require]
|
||||
# Remember to update tests/minreqs.txt if changing anything below:
|
||||
devel =
|
||||
avocado-framework >= 90.0
|
||||
distlib >= 0.3.6
|
||||
flake8 >= 5.0.4
|
||||
fusepy >= 2.0.4
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
python3 -m flake8 qemu/
|
||||
python3 -m flake8 scripts/
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
cd ../tests/qemu-iotests/
|
||||
python3 -m linters --mypy
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
cd ../tests/qemu-iotests/
|
||||
# See commit message for environment variable explainer.
|
||||
SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m linters --pylint
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
python3 -m isort -c qemu/
|
||||
python3 -m isort -c scripts/
|
||||
@@ -31,7 +31,6 @@ distlib==0.3.6
|
||||
fusepy==2.0.4
|
||||
|
||||
# Test-runners, utilities, etc.
|
||||
avocado-framework==90.0
|
||||
pytest==6.0.2
|
||||
|
||||
# Linters
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
python3 -m mypy -p qemu
|
||||
python3 -m mypy scripts/
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
# See commit message for environment variable explainer.
|
||||
SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m pylint qemu/
|
||||
SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m pylint scripts/
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
python3 -m flake8 ../scripts/qapi/ \
|
||||
../docs/sphinx/qapidoc.py \
|
||||
../docs/sphinx/qapi_domain.py
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
python3 -m isort --sp . -c ../scripts/qapi/
|
||||
# Force isort to recognize "compat" as a local module and not third-party
|
||||
python3 -m isort --sp . -c -p compat \
|
||||
../docs/sphinx/qapi_domain.py \
|
||||
../docs/sphinx/qapidoc.py
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
python3 -m mypy ../scripts/qapi
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m pylint \
|
||||
--rcfile=../scripts/qapi/pylintrc \
|
||||
../scripts/qapi/ \
|
||||
../docs/sphinx/qapidoc.py \
|
||||
../docs/sphinx/qapi_domain.py
|
||||
Reference in New Issue
Block a user