From nobody Wed Oct 22 13:07:03 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 151940273905487.73237573673975; Fri, 23 Feb 2018 08:18:59 -0800 (PST) Received: from localhost ([::1]:45532 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epG3i-00078P-NB for importer@patchew.org; Fri, 23 Feb 2018 11:18:54 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epFYE-0003jo-UA for qemu-devel@nongnu.org; Fri, 23 Feb 2018 10:46:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epFYE-0008J0-7q for qemu-devel@nongnu.org; Fri, 23 Feb 2018 10:46:22 -0500 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:50879) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1epFYE-0008HF-1C for qemu-devel@nongnu.org; Fri, 23 Feb 2018 10:46:22 -0500 Received: by mail-wm0-x242.google.com with SMTP id k87so5479487wmi.0 for ; Fri, 23 Feb 2018 07:46:21 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id x189sm2978325wmg.23.2018.02.23.07.46.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Feb 2018 07:46:18 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 357FF3E042D; Fri, 23 Feb 2018 15:46:14 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4LupEmahGYvlp9nJqL2vPJgu9KV9xKps2AvnIMxgSRI=; b=Zxh5+C0+TJ0POq08wwNdDv00edIs+KUsLnyLD5N869ngPpHK/DHtOnMoUqYLAu2z0P tcHyqQxy7V49cLU2OM2Mua4owSfz5avkerCYfXRZO27znsySAtD8o3aHqOcPRperfTZF adqST8cGxmVlOIoy90bPdqS0WcJDSHGtoIX60= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4LupEmahGYvlp9nJqL2vPJgu9KV9xKps2AvnIMxgSRI=; b=cDQ4acqExlbeqMTXUI3KiR4PSWJiP7I1ZAGiX0bbwXuPb1towvjnn+AaqMQk6C9LYr Ghbb0Kbaxq3qVkISJCUHkkL0k+0JSL9FD0g/YlQn5XW7ZKwr5fvUPoboNe9WngoG2lm0 P8ANGuMKT51YmOFpTAH3d45Uns3TGIvzjljIghgZgP0olco/IxSmfqcBnw701C5HcEWV Qepe+qcUAVMGCLtBHW8gCBCZ8PM2COHo5UVKEaY5jmtJnNiA9E+YxRE8dsov/Hmkjtx5 gVooRlaW5rF2plBhOXjcK3WDL9B3Hwn/z3K9eVSYmvYzmVNx/t3ZxfHAXEEhuIUmY7c3 JJUA== X-Gm-Message-State: APf1xPC1rj1KQZFWBB+OICxn78zhu/4nmckwrj4+BKhPwQJph+e3hk6o bVGX2yv1hos8w/w9IHvd5uYQpg== X-Google-Smtp-Source: AH8x227T5LeYJjiF1NoTytiq6QtYGywKk0Vk3WAE9Hit1Mgcay+v82zehN+ugQnv6nTr/RhCgCSlOA== X-Received: by 10.28.229.85 with SMTP id c82mr1782295wmh.76.1519400780864; Fri, 23 Feb 2018 07:46:20 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Fri, 23 Feb 2018 15:46:10 +0000 Message-Id: <20180223154613.2096-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180223154613.2096-1-alex.bennee@linaro.org> References: <20180223154613.2096-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::242 Subject: [Qemu-devel] [PATCH v1 5/8] contrib/run_risu.sh: allow appending of QEMU_FLAGS X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-arm@nongnu.org, richard.henderson@linaro.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Useful if you want to disable a feature for your run. For example: set -x QEMU_FLAGS "-cpu fp16=3Doff" Signed-off-by: Alex Benn=C3=A9e --- contrib/run_risu.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/contrib/run_risu.sh b/contrib/run_risu.sh index 439cd36..63649dd 100755 --- a/contrib/run_risu.sh +++ b/contrib/run_risu.sh @@ -13,6 +13,7 @@ # # Usage: # (optional) export QEMU=3D/path/to/qemu +# (optional) export QEMU_FLAGS=3D"-cpu any,fp16=3Doff" # (optional) export RISU=3D/path/to/risu # ./run_risu.sh ./testcases.aarch64/*.bin =20 @@ -29,9 +30,10 @@ fi =20 for f in $@; do t=3D"$f.trace" - echo "Running $f against $t" + CMD=3D"${QEMU} ${QEMU_FLAGS} ${RISU} $f -t $t" + echo "Running: ${CMD}" if [ -e $t ]; then - ${QEMU} ${RISU} $f -t $t + ${CMD} if [ $? =3D=3D 0 ]; then passed=3D( "${passed[@]}" $f ) else --=20 2.15.1