From patchwork Tue Jul 30 22:19:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 815332 Delivered-To: patch@linaro.org Received: by 2002:a5d:4acf:0:b0:367:895a:4699 with SMTP id y15csp496114wrs; Tue, 30 Jul 2024 15:20:33 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVJlE5szFGtITXplzhmuV1qUyShOWpvyQq0DZ2c3an4TWp+5RhwCjsPKtpuH6Mzptq6SK7C/d2WI0gCauhjZbJN X-Google-Smtp-Source: AGHT+IHI1Tn75s7yTLwskO0ZTt0Br2ULnungVTlz2Gl5kZuEZl1ZyKCVCT7az7MrWc3noaDB3Ajd X-Received: by 2002:a05:6214:260d:b0:6b4:fbf8:d652 with SMTP id 6a1803df08f44-6bb5597d578mr172610766d6.1.1722378033624; Tue, 30 Jul 2024 15:20:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1722378033; cv=none; d=google.com; s=arc-20160816; b=XvBsVXSs9OukDt5EEwSRyzWBCFy2Uvw8PfdqPXuTyKvgA2mMH7SFA8mn9vpGEHjieK 1tz/iqpwmAV9+gK5ww1w23bM3ve6bRCOX8pb5p0jpxMjb/VHNkQTCQKgUgZiHWpW1MJm hY+JNkIsFNeiuf9WOdA4wPRLO2GI/LKUxpwE1AWAp6B3ICMWKLLWd/B3ih5AiRevl4oR 5XvSq1EDgcPEnCydvBsjpLY/giKHXRJX4ySiIz08qwxA+qk0ZBJAVah3cWw74bh7bSFz o9vnV3ODfzmm3U0H8C74hIwPQW0ompUnEPR6ayURCqwSBV6G05khzAeQhXV66AwVqI/r AFTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=1/zGXteK/S9WGQeoxuzITGtgb8/HqBY0j6sCJN6VEFg=; fh=xnAl8QX98odZLqr6Xt1AlT8vDt8DqBCZvQH2nMnmf3Q=; b=jUDEJspHZDv1JOOysn/98+KOQeZq8Z5TZ9z0GXV06o/bTZ5x4g95sCz1QThB6Jhdvs A8cz6DaN0aIHQOouWb9MKCS0WDgw+l3gwHdf1XQkwPJx4EO2m6xlW6yMqK5I/ZEUKY9K D4QT/kpJnJXJ7FHP2n92NG84OLzo/+PVjUKO7+CzA2c/JGnZdzjGgLeAqYaJmcCR5lUr m6Yq9xD99F2gL05z8anYifHKrr7IEttRel/X1P51oJlXNdsJv+3tKeMPdlpkRPMYlUeM 3eTVxwND9elq1mPvs+bEIRIJuMIxLopkKv4J2I1SCR2PPBi7q4s/9KqN0lAxrv226P7f lZmQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UOLN2kkG; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6bb3f8cbcb2si140865336d6.62.2024.07.30.15.20.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Jul 2024 15:20:33 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UOLN2kkG; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYvCU-0005OT-3U; Tue, 30 Jul 2024 18:20:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sYvCS-0005GW-FK for qemu-devel@nongnu.org; Tue, 30 Jul 2024 18:20:08 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sYvCQ-0006hd-DY for qemu-devel@nongnu.org; Tue, 30 Jul 2024 18:20:08 -0400 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3687fd09251so2547751f8f.0 for ; Tue, 30 Jul 2024 15:20:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722378004; x=1722982804; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1/zGXteK/S9WGQeoxuzITGtgb8/HqBY0j6sCJN6VEFg=; b=UOLN2kkGPXYZVvydsiw5j9Hy5mzQ6srPmk8FRLd3TmN2lqHHFAucFquWGMLnZRjLcW A+o1O4bkfJhxkgfsJrI/OQXfate7/8s6woITO4MKAWdFF10ZTgfJaVh5yAmCXE/NEgCi GMuLni+UC7nZ4hHwOGy2gjvOQHNZ1SbCW4lxAYF4qXcFN9Zl3PjSOtdz5f6asmnO59J8 urmpiWczvA5DHqlXn+9sHL41zjjKQaSC+OR8mItzmKp1zdhriidf5nkQT+/jyQmuuZ/n +TMTvh8ZYdnjKDAXaaDVGCfwdNV/A0dADddB0dswcBO/bENRPzbzhPz+mGfYKc4p/Kdg qUuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722378004; x=1722982804; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1/zGXteK/S9WGQeoxuzITGtgb8/HqBY0j6sCJN6VEFg=; b=LuNg4Q/iFtIyc9IUgkIMRHRV4sPl9CBXCM3HT4vQZbEqyMOIhJrkvoWkxTALnT61UE PRkqQuAD+jRkYP4WbkFyhexooMwTbPiTgZflYjY2hedsrtcwFhjTW1TkhZKMRSdsmNKG X5DBIhrlhWxPYOAyucoleQjiibLZR91Yt99PTIKqddzSj1W0IAZTketKdMZHvFw5MX5S F9tziQI3oy4v27RIZ6jDJfhE1C4P7c3SRKgbh/owSKI/IGb2CZdMLD8IgQeNI2K5Wu+R QG/EiRTR46Z2/837v8Wsd7suGkSEt5oFFvNhZL6VdNW+RM75kHuKCMsrdfED3OqKG71Y ojKw== X-Gm-Message-State: AOJu0Yxo/QcjKIqTSXRFin8fDx09eY4DZCQmfGdvmAizDNhSlPs++dcx vWWhPHQoMRZ75TQIEaeJmkXVb+jNaX64X4mmpLZTa1OxvuUnmkhj7ibZsdLPRr5CUBAQkzbFacT gRys= X-Received: by 2002:a05:6000:156c:b0:369:b7e3:497b with SMTP id ffacd0b85a97d-36b5cee2f89mr8744490f8f.12.1722378004227; Tue, 30 Jul 2024 15:20:04 -0700 (PDT) Received: from localhost.localdomain ([78.196.4.158]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36b367c0338sm15798405f8f.1.2024.07.30.15.20.03 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 30 Jul 2024 15:20:03 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Dani?= =?utf-8?q?el_P_=2E_Berrang=C3=A9?= , Markus Armbruster Subject: [PULL 1/6] docs: add test for firmware.json QAPI Date: Wed, 31 Jul 2024 00:19:52 +0200 Message-ID: <20240730221957.34533-2-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240730221957.34533-1-philmd@linaro.org> References: <20240730221957.34533-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=philmd@linaro.org; helo=mail-wr1-x434.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Thomas Weißschuh To make sure that the QAPI description stays valid, add a testcase. Suggested-by: Philippe Mathieu-Daudé Link: https://lore.kernel.org/qemu-devel/d9ce0234-4beb-4b90-b14c-76810d3b81d7@linaro.org/ Reviewed-by: Daniel P. Berrangé Acked-by: Markus Armbruster Signed-off-by: Thomas Weißschuh Tested-by: Philippe Mathieu-Daudé Message-ID: <20240724-qapi-firmware-json-v7-1-12341f7e362d@linutronix.de> Signed-off-by: Philippe Mathieu-Daudé --- docs/meson.build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/meson.build b/docs/meson.build index 9040f860ae..322452c877 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -99,3 +99,8 @@ if build_docs alias_target('html', sphinxdocs) alias_target('man', sphinxmans) endif + +test('QAPI firmware.json regression tests', qapi_gen, + args: ['-o', meson.current_build_dir() / 'qapi', + meson.current_source_dir() / 'interop/firmware.json'], + suite: ['qapi-schema', 'qapi-interop'])