summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Maydell2022-01-11 15:20:42 +0100
committerPeter Maydell2022-01-11 15:20:42 +0100
commit7bb1272f40bdbdebcaec1737c412dcb52e414842 (patch)
treef45c186da68f21b3350e3ef2ae1c6ff70f7ed32c /scripts
parentMerge remote-tracking branch 'remotes/philmd/tags/sdmmc-20220108' into staging (diff)
parentsimplebench: Fix Python syntax error (reported by LGTM) (diff)
downloadqemu-7bb1272f40bdbdebcaec1737c412dcb52e414842.tar.gz
qemu-7bb1272f40bdbdebcaec1737c412dcb52e414842.tar.xz
qemu-7bb1272f40bdbdebcaec1737c412dcb52e414842.zip
Merge remote-tracking branch 'remotes/jsnow-gitlab/tags/python-pull-request' into staging
Python pull request Fixes for the tests that broke during vacation, plus a simple syntax fix for a python script. # gpg: Signature made Mon 10 Jan 2022 23:24:47 GMT # gpg: using RSA key F9B7ABDBBCACDF95BE76CBD07DEF8106AAFC390E # gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.com>" [full] # Primary key fingerprint: FAEB 9711 A12C F475 812F 18F2 88A9 064D 1835 61EB # Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76 CBD0 7DEF 8106 AAFC 390E * remotes/jsnow-gitlab/tags/python-pull-request: simplebench: Fix Python syntax error (reported by LGTM) python: update type hints for mypy 0.930 Python/aqmp: fix type definitions for mypy 0.920 python/aqmp: use absolute import statement Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/simplebench/bench-example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/simplebench/bench-example.py b/scripts/simplebench/bench-example.py
index 4864435f39..fc370691e0 100644
--- a/scripts/simplebench/bench-example.py
+++ b/scripts/simplebench/bench-example.py
@@ -25,7 +25,7 @@ from bench_block_job import bench_block_copy, drv_file, drv_nbd
def bench_func(env, case):
""" Handle one "cell" of benchmarking table. """
- return bench_block_copy(env['qemu_binary'], env['cmd'], {}
+ return bench_block_copy(env['qemu_binary'], env['cmd'], {},
case['source'], case['target'])