From nobody Mon Feb 9 08:57:10 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.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 (zohomail.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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1579676066; cv=none; d=zohomail.com; s=zohoarc; b=Hg6ZYaPCEZMU4BZ1iUmm+vLEE617yvQ4QfEQ9LdCnGFQa6MNqtSQ9YDS399NibKJwFqWXfmFPXE1LyjZ1OvDYa4HFsFYknh/poVZ1lmopW8Y4huW0WKSoLYwuXoeokaN7p28spVrcR6/SX4d6BKoHu1DP1xa6IrpFL8+ZqjMT+4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1579676066; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=eTnESgkc4Q1IE7eK3yhiRdRiKjKhsh/o/b9VSLnbvfo=; b=OQDgu25eWdaLtwuTjPX+E2FCK6yzWSM3a+vr7OsDc7gxhhrL4b1egwI60ryOqqi/nGJAPZI4zjQ7xdeWM1qLG0/dhUvMhn9poy7MvX6VhuE1l8+gJ5vyEd5BVHyqLoUaUtWWNNy/RIBTXkDO/ilwrteKw1RpeI7P9voekJaC5+k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.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 header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1579676066287184.65128013654316; Tue, 21 Jan 2020 22:54:26 -0800 (PST) Received: from localhost ([::1]:37599 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iu9uC-0000yi-T9 for importer@patchew.org; Wed, 22 Jan 2020 01:54:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36130) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iu9qH-0004Z1-IA for qemu-devel@nongnu.org; Wed, 22 Jan 2020 01:50:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iu9qG-0007zM-DF for qemu-devel@nongnu.org; Wed, 22 Jan 2020 01:50:21 -0500 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:58141) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iu9qG-0007z1-7P for qemu-devel@nongnu.org; Wed, 22 Jan 2020 01:50:20 -0500 Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-13-FBqd-OhINJm1EoHkMhSgYw-1; Wed, 22 Jan 2020 01:50:18 -0500 Received: by mail-wr1-f72.google.com with SMTP id f10so2615867wro.14 for ; Tue, 21 Jan 2020 22:50:18 -0800 (PST) Received: from redhat.com (bzq-79-176-0-156.red.bezeqint.net. [79.176.0.156]) by smtp.gmail.com with ESMTPSA id m10sm56751619wrx.19.2020.01.21.22.50.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jan 2020 22:50:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579675819; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eTnESgkc4Q1IE7eK3yhiRdRiKjKhsh/o/b9VSLnbvfo=; b=hiswUwMw68AN1N1j+9iSbSgxV19ksggwCSGghn3CcOtPGzbegVCcWwr6YxMQ2zKfYNJSqI T647Y0XbVBJvwsDDhl1/pv2dBvxpjb112AFxzd1i5nsgFNI5lM7nrYXy0gkg3KK8Qm7xHC l0vtWmm5c8+cFNFfV+wcgMBBOLy97ZE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=eAd3+nCoRQPzLOmjcY8CULrwvjv4VOu8uY/RSRtK8kQ=; b=L4gSOo7H6IS5IBXVX2Qso8GLYVuDPO00/o9nRx5Ao4BKRLJSFpAeV5zkwjpWNwmTGE sgEjCAiBupA0WQE3d/Kj1WGyZ4WIFaEGYINmccLlifxzTK9+zchl1DRd5XdZGDVNtTqx YSg999dES7pjRy+e5us0LvZLeWmmTpbED+ASbl53VJ/1jKzTYcHD4fRw/dS6vbFBSyn2 jSuwDthTNGzdzsYExt2dR2S6r0bWdvYljDWtWDmv10C1l0QMmU5Trf6d0O8rLHjJCunW ST3e1fp/3L2ZLj3K0WSJdLnmiIqhK3/qkpFU2uhRHoXGCqt027cYqcS/CwMYvA3DCMRn TiMA== X-Gm-Message-State: APjAAAWvEXXryXnaDwbeBJN+BymHjBXR8bFa2uDEQRrvtZhAfe0Qt6cv evw6QnzCpBlvuNLfFNwNIykW3aWHyCtlWjKwP8O8g/KyC0MBdJsAcVAdypnIXjPsBirRaEExmmE kYqZiWQMdqP1xjGs= X-Received: by 2002:a1c:5401:: with SMTP id i1mr1123841wmb.99.1579675816929; Tue, 21 Jan 2020 22:50:16 -0800 (PST) X-Google-Smtp-Source: APXvYqwPpNTZDpcmcF3BWq96vfyY7ZlgRBlaWVLC6h1CP8jwUBjCsqKS5d70mZxmBwomw/7qxB1sNw== X-Received: by 2002:a1c:5401:: with SMTP id i1mr1123818wmb.99.1579675816715; Tue, 21 Jan 2020 22:50:16 -0800 (PST) Date: Wed, 22 Jan 2020 01:50:14 -0500 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Subject: [PULL v2 09/17] bios-tables-test: document expected file update Message-ID: <20200122064907.512501-10-mst@redhat.com> References: <20200122064907.512501-1-mst@redhat.com> MIME-Version: 1.0 In-Reply-To: <20200122064907.512501-1-mst@redhat.com> X-Mailer: git-send-email 2.24.1.751.gd10ce2899c X-Mutt-Fcc: =sent X-MC-Unique: FBqd-OhINJm1EoHkMhSgYw-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.81 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: Laurent Vivier , Peter Maydell , Thomas Huth , Paolo Bonzini , Igor Mammedov Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Document the flow for the case where contributor updates the expected files. Signed-off-by: Michael S. Tsirkin --- tests/qtest/bios-tables-test.c | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index f1ac2d7e96..3ab4872bd7 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -16,7 +16,10 @@ * 1. add empty files for new tables, if any, under tests/data/acpi * 2. list any changed files in tests/bios-tables-test-allowed-diff.h * 3. commit the above *before* making changes that affect the tables - * Maintainer: + * + * Contributor or ACPI Maintainer (steps 4-7 need to be redone to resolve = conflicts + * in binary commit created in step 6): + * * After 1-3 above tests will pass but ignore differences with the expecte= d files. * You will also notice that tests/bios-tables-test-allowed-diff.h lists * a bunch of files. This is your hint that you need to do the below: @@ -28,13 +31,23 @@ * output. If not - disassemble them yourself in any way you like. * Look at the differences - make sure they make sense and match what the * changes you are merging are supposed to do. + * Save the changes, preferably in form of ASL diff for the commit log in + * step 6. * * 5. From build directory, run: * $(SRC_PATH)/tests/data/acpi/rebuild-expected-aml.sh - * 6. Now commit any changes. - * 7. Before doing a pull request, make sure tests/bios-tables-test-allowe= d-diff.h - * is empty - this will ensure following changes to ACPI tables will - * be noticed. + * 6. Now commit any changes to the expected binary, include diff from ste= p 4 + * in commit log. + * 7. Before sending patches to the list (Contributor) + * or before doing a pull request (Maintainer), make sure + * tests/bios-tables-test-allowed-diff.h is empty - this will ensure + * following changes to ACPI tables will be noticed. + * + * The resulting patchset/pull request then looks like this: + * - patch 1: list changed files in tests/bios-tables-test-allowed-diff.h. + * - patches 2 - n: real changes, may contain multiple patches. + * - patch n + 1: update golden master binaries and empty + * tests/bios-tables-test-allowed-diff.h */ =20 #include "qemu/osdep.h" --=20 MST