From patchwork Fri Feb 23 15:46:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 129428 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp782193lja; Fri, 23 Feb 2018 08:17:08 -0800 (PST) X-Google-Smtp-Source: AG47ELuv7l9c9TthNcWXcldj9Asw/R7UeefMP3rZkp3t4WGH8/E6zv19zWq2Q9oDGMJc+DYZzJf/ X-Received: by 10.13.241.65 with SMTP id a62mr1417359ywf.363.1519402628715; Fri, 23 Feb 2018 08:17:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519402628; cv=none; d=google.com; s=arc-20160816; b=HkmHC7wQmm1mpn3jTdkhFgikRXINqYiMyAMLX793y7eKyoILNAIJq4mH4ziA9v9Ys1 BpIyRBgwmeff2irvU+qWJ5ju/FonGTl3KxQEZfWMKF8j//sV12MWvBbyR4p6EpLQXPLj ZotRFCsAWAdrLL2q37mSTm4B9IFZt6XpHwYvSLQiGXB9ozckxmMDLE3V+8t9U9G214M0 qGS7rOcfkY1t7IDAM7rOOrNQbkqzwkJPIWVOvl6BOjDNWjT9qILxnqRQSrpnW+oxk5/n q17+c1xFVBJXVd4fCqmiaW8Zj6jpkkOr71XxBkc4rIeruuTIqZm/5f5jsk0SeYoK2cKe /PzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=4LupEmahGYvlp9nJqL2vPJgu9KV9xKps2AvnIMxgSRI=; b=nQux4kJc+KTeLBM5dUJBu1eM9ogLyiDAJ6aFmBn1c8YedclJVwopluxoosPhbzxsGZ I+c5iAfgYNG8N3sP2dGsvM3PKZtjeawwXNfT8pejx3oAITcuszNL6lmTaFP078dytN99 aUV5eQ+lDN78eSZbIjX6RXmIxLh0zX56N7vGdnCHIevD8TVV1u8GLFi1gPCGtqJTuwA8 NFaKPlVMU2NEaE2CmqxP48qb3Iccg9SJI3YCpMfRPrpqQc0N3Kt7eiJzjEkDf2oH2MxT 7LI1gsLamNq+eaEVa5fUmlFoPxStCMsVlZajRyUfqPZMosdQd4nbBnDgKC47BzpA0Qw0 0TVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Zxh5+C0+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 2-v6si464104ybi.99.2018.02.23.08.17.08 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 23 Feb 2018 08:17:08 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Zxh5+C0+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:45522 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epG20-0005th-0c for patch@linaro.org; Fri, 23 Feb 2018 11:17:08 -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) 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-Received: by 10.28.229.85 with SMTP id c82mr1782295wmh.76.1519400780864; Fri, 23 Feb 2018 07:46:20 -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) From: =?utf-8?q?Alex_Benn=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 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_Benn=C3=A9e?= , qemu-arm@nongnu.org, richard.henderson@linaro.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Useful if you want to disable a feature for your run. For example: set -x QEMU_FLAGS "-cpu fp16=off" Signed-off-by: Alex Bennée --- contrib/run_risu.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.15.1 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=/path/to/qemu +# (optional) export QEMU_FLAGS="-cpu any,fp16=off" # (optional) export RISU=/path/to/risu # ./run_risu.sh ./testcases.aarch64/*.bin @@ -29,9 +30,10 @@ fi for f in $@; do t="$f.trace" - echo "Running $f against $t" + CMD="${QEMU} ${QEMU_FLAGS} ${RISU} $f -t $t" + echo "Running: ${CMD}" if [ -e $t ]; then - ${QEMU} ${RISU} $f -t $t + ${CMD} if [ $? == 0 ]; then passed=( "${passed[@]}" $f ) else