From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5D61C47096 for ; Thu, 3 Jun 2021 16:51:27 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 722AE613F1 for ; Thu, 3 Jun 2021 16:51:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 722AE613F1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:41206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loqZ4-00070b-LA for qemu-devel@archiver.kernel.org; Thu, 03 Jun 2021 12:51:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loqKs-00043i-EZ for qemu-devel@nongnu.org; Thu, 03 Jun 2021 12:36:46 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:39665) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loqKq-0005Fl-US for qemu-devel@nongnu.org; Thu, 03 Jun 2021 12:36:46 -0400 Received: by mail-wm1-x332.google.com with SMTP id l18-20020a1ced120000b029014c1adff1edso6281016wmh.4 for ; Thu, 03 Jun 2021 09:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=11m6bW+B5PzmExKffNbbK+CPFtBaNRCbz8qQth45Rr0=; b=kH4zBLfUnwBHb/L+humX2qhPrW/aJcVqU/2Engy45RW8w6MowGfKGOTX64dyit/Cic wgHSaz2f4rL8qwhYh3jyMyEYMuOOR9nHaICtfejip1+29TPubFi0cBwo7FUg0Q+E1Uo2 SD5XW3I/lnKC0BnEpHHx4zdzRihDfX+z4zmgYdRR4oQbAGuxWAfifH4DPcWykHBtkfOE M4H1ZV4x+rSAhUZQi4Gg4rJub6I5gNjR3tE0yWVu6gIVoTIni8HmnrELbcONaJrtNxjC qb36ag5YamvGx3pdL4xKYzWntzMzCbBZZgSRE53SeAh2TN44UVHZYoFGqB7f2SSlYBw9 ZA5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=11m6bW+B5PzmExKffNbbK+CPFtBaNRCbz8qQth45Rr0=; b=AMdpsI2XtqYnGL83iagDlwijEpPVs44dN3+RKvSwDn0Jc1EqgHYW4fYQUrxrCwuwyt JyRMaxYxoY4R2dggPJS4vXP1YxeNUrpqZ3VF6H7nfcCoYDAfUZ+8CS7pwm+LNjhGRiCk 4YzFJP23Arukmm498hH0oN/OHX4DDu+hsGIAAn5MV3yr3bwPWj6dTHcrOmKExOw93R0l 30YEn2FDjk5wHkcBXLoKDbbe8Xa5pvYw7mh2p2Vhxwh+tqr7dV+ehTR0hY7OINheui3b Dzi1o+4u5DGxUCfjtnrAprKTCgUe5PZNGf7fP6FF0SJJG8gRIRtcypSN1Pr+YamB4lwE Sl4w== X-Gm-Message-State: AOAM5324EgiZ+vFRKMnXqug51XzZKXM7avA65C0DOCMW7g90XH24339v l36ODp/mEiX6jDIeuaXwWqXG0Q== X-Google-Smtp-Source: ABdhPJzcTkjmg26DI5O7dhmKWqI7gDyuRjawYf+x+jwc610BIp52hZ8Trc1I2r7fJmrvOHezpfBmAA== X-Received: by 2002:a7b:c5d2:: with SMTP id n18mr11015933wmk.97.1622738203395; Thu, 03 Jun 2021 09:36:43 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id u2sm3722489wrn.38.2021.06.03.09.36.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Jun 2021 09:36:42 -0700 (PDT) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id DFACF1FF7E; Thu, 3 Jun 2021 17:36:41 +0100 (BST) References: <20210526170432.343588-1-philmd@redhat.com> <20210526170432.343588-12-philmd@redhat.com> User-agent: mu4e 1.5.13; emacs 28.0.50 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Subject: Re: [PATCH v8 11/12] qtest/bios-tables-test: Make test build-independent from accelerator Date: Thu, 03 Jun 2021 17:36:37 +0100 In-reply-to: <20210526170432.343588-12-philmd@redhat.com> Message-ID: <87wnra7vmu.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Eduardo Habkost , "Michael S. Tsirkin" , Richard Henderson , qemu-devel@nongnu.org, Markus Armbruster , qemu-arm@nongnu.org, Paolo Bonzini , Igor Mammedov Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Philippe Mathieu-Daud=C3=A9 writes: > Now that we can probe if the TCG accelerator is available > at runtime with a QMP command, do it once at the beginning > and only register the tests we can run. > We can then replace the #ifdef'ry by an assertion. > > Reviewed-by: Eric Blake > Reviewed-by: Igor Mammedov > Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alex Benn=C3=A9e --=20 Alex Benn=C3=A9e