From nobody Tue Feb 10 06:08:28 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.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 209.51.188.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 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1552407581629963.5715288697277; Tue, 12 Mar 2019 09:19:41 -0700 (PDT) Received: from localhost ([127.0.0.1]:55208 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3k7s-0005ci-A2 for importer@patchew.org; Tue, 12 Mar 2019 12:19:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3jtd-0001sj-FJ for qemu-devel@nongnu.org; Tue, 12 Mar 2019 12:04:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3jom-0000Ju-37 for qemu-devel@nongnu.org; Tue, 12 Mar 2019 11:59:52 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:37250) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3jol-0000JC-S4 for qemu-devel@nongnu.org; Tue, 12 Mar 2019 11:59:52 -0400 Received: by mail-wm1-x32a.google.com with SMTP id x10so3183596wmg.2 for ; Tue, 12 Mar 2019 08:59:51 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id o127sm3241450wmo.20.2019.03.12.08.59.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Mar 2019 08:59:49 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 934EE1FF8B; Tue, 12 Mar 2019 15:59:47 +0000 (UTC) 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=1Bk/eAibaY+byMiN9KxtOjjdF5i9SnxGLz0njsaUuuw=; b=sRhi8AkVPJhkE+efXHR6bZtddrC3paJK135KxrYmTjb2gpGi62TpUkdmsiM0roB9t/ CnOBeeZDE+tbu2lEVmoQR0kJwfPWaAYlssPSVfYQLdfo5Egdi6JhMSVzVUwT45deI5CQ DU0sNbFunQJnsQcnchtsRmCNZ+QOIEUjkyBPC7tuELef5CBZ74tRTJB7bnv60zj7rpdk kI/8s+nydQec1x8Qy0yRjDGHVJiHG4nPFoqP+YI3w4vbR8krkRrm1VPX5enESGHj52cz bbNouqUevgFvd/AhrJI6LANmak9EPgVWKfFU3cRvghYxnlsWBcw8e7aFHmbvzYEE6fHz UTPQ== 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=1Bk/eAibaY+byMiN9KxtOjjdF5i9SnxGLz0njsaUuuw=; b=Sr7bUgiDknlLKi0uKrA2y0NzFHO6Npy5IGnwjTcQfeLpqsYswW7p3VbiUCVWV3UP8M yNQUsZBcpS/GinOFtEq2QjIETjDJjdWaSE2kVmprNbLQB3nCNrVz+tfDz3KmO3Hd627y vNRdKVEDGBwOOPKXECcPAcQFSIJv7NLO8Y9hZz6gik7vl5uKtvbDekxLU+YoJUNi/T20 jeyBnZWJEeSumYZNjbGJU97fp1AKNC1Kpoojqy+qT/kvXA4v/sV/8BDGS60na3EzPjv9 V38fVcdPa96CvZHYw6VSPDAjQayWVPN6HH5DoDgaZOo9SlBexHKrWpOWytBNfn9EE+lT WzsQ== X-Gm-Message-State: APjAAAUFkw9ToN5MYA3YfBfuAACfZFUDCjYg7lkuq/9rol2I1CDSeNbO SgdhtwwuIbMuRymiv0qK/QUtvg== X-Google-Smtp-Source: APXvYqyX8B5/iLrGx3VSF7rjL4fo+UQxZp4kfzNVoFvcSkYbP8SnJM3mUvpUNEyalQGaq6Crl7IyZQ== X-Received: by 2002:a1c:3c02:: with SMTP id j2mr3082944wma.72.1552406390797; Tue, 12 Mar 2019 08:59:50 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Tue, 12 Mar 2019 15:59:29 +0000 Message-Id: <20190312155947.14918-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190312155947.14918-1-alex.bennee@linaro.org> References: <20190312155947.14918-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:4864:20::32a Subject: [Qemu-devel] [PATCH v4 03/21] tests/tcg: add QEMU_OPT option for test runner 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: peter.maydell@linaro.org, famz@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, agraf@suse.de, cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) This will allow tests to modify the QEMU invocation with for example different -cpu stazas without having to define a whole new set of runner types. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson --- v2 - default QEMU_OPTS to --monitor none for system emulation - and --display none --- tests/tcg/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/tcg/Makefile b/tests/tcg/Makefile index 55feab0f67..454d0a4119 100644 --- a/tests/tcg/Makefile +++ b/tests/tcg/Makefile @@ -54,10 +54,13 @@ LDFLAGS=3D # The QEMU for this TARGET ifdef CONFIG_USER_ONLY QEMU=3D../qemu-$(TARGET_NAME) +QEMU_OPTS=3D else QEMU=3D../qemu-system-$(TARGET_NAME) +QEMU_OPTS=3D-monitor none -display none endif =20 + # If TCG debugging is enabled things are a lot slower ifeq ($(CONFIG_DEBUG_TCG),y) TIMEOUT=3D45 @@ -108,7 +111,7 @@ RUN_TESTS=3D$(patsubst %,run-%, $(TESTS)) RUN_TESTS+=3D$(EXTRA_RUNS) =20 run-%: % - $(call run-test, $<, $(QEMU) $<, "$< on $(TARGET_NAME)") + $(call run-test, $<, $(QEMU) $(QEMU_OPTS) $<, "$< on $(TARGET_NAME)") =20 .PHONY: run run: $(RUN_TESTS) --=20 2.20.1