38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
|
|
From 8fcd784145209d6e137e5c5d1e555599e523a10c Mon Sep 17 00:00:00 2001
|
||
|
|
From: Luo Yifan <luoyifan_yewu@cmss.chinamobile.com>
|
||
|
|
Date: Wed, 20 Nov 2024 10:50:23 +0800
|
||
|
|
Subject: [PATCH] simplebench: Fix Python syntax error (reported by LGTM)
|
||
|
|
MIME-Version: 1.0
|
||
|
|
Content-Type: text/plain; charset=UTF-8
|
||
|
|
Content-Transfer-Encoding: 8bit
|
||
|
|
|
||
|
|
cherry picked from commit 9ebfc5a583d8aa94bf1bc37c1f71559187fd809c
|
||
|
|
|
||
|
|
Fixes: b2fcb0c5754c2554b8406376e99a75e9e0a6b7bd
|
||
|
|
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
||
|
|
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
|
||
|
|
Reviewed-by: John Snow <jsnow@redhat.com>
|
||
|
|
Message-id: 20220107153019.504124-1-sw@weilnetz.de
|
||
|
|
Signed-off-by: John Snow <jsnow@redhat.com>
|
||
|
|
Signed-off-by: Luo Yifan <luoyifan_yewu@cmss.chinamobile.com>
|
||
|
|
---
|
||
|
|
scripts/simplebench/bench-example.py | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
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 @@
|
||
|
|
|
||
|
|
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'])
|
||
|
|
|
||
|
|
|
||
|
|
--
|
||
|
|
2.41.0.windows.1
|
||
|
|
|