- ``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
+++ /dev/null
-[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']
[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
+++ /dev/null
-#!/bin/sh -e
-python3 -m flake8 qemu/
-python3 -m flake8 scripts/
+++ /dev/null
-#!/bin/sh -e
-
-cd ../tests/qemu-iotests/
-python3 -m linters --mypy
+++ /dev/null
-#!/bin/sh -e
-
-cd ../tests/qemu-iotests/
-# See commit message for environment variable explainer.
-SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m linters --pylint
+++ /dev/null
-#!/bin/sh -e
-python3 -m isort -c qemu/
-python3 -m isort -c scripts/
fusepy==2.0.4
# Test-runners, utilities, etc.
-avocado-framework==90.0
pytest==6.0.2
# Linters
+++ /dev/null
-#!/bin/sh -e
-python3 -m mypy -p qemu
-python3 -m mypy scripts/
+++ /dev/null
-#!/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/
+++ /dev/null
-#!/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
+++ /dev/null
-#!/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
+++ /dev/null
-#!/bin/sh -e
-# SPDX-License-Identifier: GPL-2.0-or-later
-
-python3 -m mypy ../scripts/qapi
+++ /dev/null
-#!/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