From nobody Sun Dec 29 00:36:54 2024 Delivered-To: importer2@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1721141071; cv=none; d=zohomail.com; s=zohoarc; b=UCMZELLIG5NTRDBa4oSaxA8J94g34l+tRbYmAacJJ2JTnxfm0X9o3Oo3FVo8Sx0ogL578ifVy3jsLGFfE+DBSN703BXm7TUN5gZupQUXsVdLK0HyAq0KQaWGtyeACrLkQGtjvE1hz0Xn79TBdIK2eAybkVCtbPYpstn6IIF97Is= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1721141071; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=SU8GfqelSqXJWaHbA4tCleDNQ3MgjXFsCeI35E4yuvw=; b=h/PWlDhzx3Yy67YdR4vzMY2G3RhL+GRrfowm9VM5UCPc8wa3YwsK4+EMKuG+M3Cuz7/8KB3E3C1jgmfM+LgzJvuOcyq9WHfq+GfZD89O83Y0Cwi0nDxJltgZHehvyX1Iqc8fgK3YiydvT1WJfWq7ZMKLFqOebbbFPwtVYJlOGiM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1721141071351411.43467844204156; Tue, 16 Jul 2024 07:44:31 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTjPJ-0005nR-7F; Tue, 16 Jul 2024 10:43:57 -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 1sTjPC-0005X5-E2 for qemu-devel@nongnu.org; Tue, 16 Jul 2024 10:43:50 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sTjP8-00033O-PM for qemu-devel@nongnu.org; Tue, 16 Jul 2024 10:43:50 -0400 Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-2cb09dc1dafso1489111a91.2 for ; Tue, 16 Jul 2024 07:43:44 -0700 (PDT) Received: from sunil-pc.tail07344b.ts.net ([106.51.187.237]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2caf480d61bsm6084782a91.18.2024.07.16.07.43.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jul 2024 07:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1721141023; x=1721745823; 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=SU8GfqelSqXJWaHbA4tCleDNQ3MgjXFsCeI35E4yuvw=; b=diNLcoznskXTVsNcXmGpgt3JEGFfpZmSYUWtS6+TleL80tQtR5omxvgluDH0C7u5jV KacI6TaBSDfDEVf7+jhN1RX0yvETTRTlEA4aN7wJ/mJ8VRdVURVNYehE556lkyKjZDdi HV10Tvhf+5BZqTpCmw7h4jP6w9mkfUQPUJHwGZfE1uymrXkVk4OJvG2O1hYz9iPhZyOU j5yPZ0wGciXBZbJp9iHzsY7YFk8Qf0EoRdzjUHoMNb5s0q12C1KnI7DELCiBO6xQMdi1 6pQXhthL/A8YaOZ33c0uL36AddAgyv9XeWsQHMXwZFVdFGgPa4GqXy3yg62uWjS3+68C Z8og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721141023; x=1721745823; 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=SU8GfqelSqXJWaHbA4tCleDNQ3MgjXFsCeI35E4yuvw=; b=vulYyflNsB2EnzXBkTy2JQrRtEcubtDeMl4vZyOHE2zTKBL6W224eXhLiQney1GoaB CFJjvfbCm0oe6gol3p0BEV8xYlNcihUYNH4qLUPyLezWfkwuaycJ39IFMuDlSFcDDere 7v70/3/d4z5Gj4jCwHUFIv/uxPb/hC0Yo7+TTLrEdmSUkoAUJIwUkDkTw1R4VWtBo27e YFIYC6+7rTCMirrD/BmA9zvi2x5siWB259J6qd8CeB9EYoyL583geI45Cs8ZXwUkm8jc hkQ1PHiorMTl86z89rutFK1SmP+3XWrQZb8MDVTuSlLytk75gBTL1XX5cPj+HR+w4ZHV uTjg== X-Gm-Message-State: AOJu0YyfimywmTwM4pqzI4Ru83EU1ZMaEwSATsqwglBCjEA9OMSKeymm x0b/CS7SE0oYdLy2gtyqNmkPLAe9eQqxUSzO+rOA1htT3lchihFIaBqKWmcdR7dvlO8hZoDKxhw tN04= X-Google-Smtp-Source: AGHT+IFqZiLASXNusByEK2CUUkNUyS1JOCtGWijUXENDPCeWgUAak7R+Po4iuWLg8kOQY+sFf2nXtA== X-Received: by 2002:a17:90a:8a08:b0:2c9:a3d4:f044 with SMTP id 98e67ed59e1d1-2cb37416a46mr1701341a91.11.1721141022889; Tue, 16 Jul 2024 07:43:42 -0700 (PDT) From: Sunil V L To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , "Michael S . Tsirkin" , Igor Mammedov , Ani Sinha , Sunil V L Subject: [PATCH v4 6/9] tests/qtest/bios-tables-test.c: Remove the fall back path Date: Tue, 16 Jul 2024 20:13:03 +0530 Message-ID: <20240716144306.2432257-7-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240716144306.2432257-1-sunilvl@ventanamicro.com> References: <20240716144306.2432257-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=sunilvl@ventanamicro.com; helo=mail-pj1-x1033.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=unavailable 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+importer2=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer2=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @ventanamicro.com) X-ZM-MESSAGEID: 1721141082190116300 Content-Type: text/plain; charset="utf-8" The expected ACPI AML files are moved now under ${arch}/{machine} path. Hence, there is no need to search in old path which didn't have ${arch}. Remove the code which searches for the expected AML files under old path as well. Suggested-by: Igor Mammedov Signed-off-by: Sunil V L Acked-by: Alistair Francis Reviewed-by: Igor Mammedov --- tests/qtest/bios-tables-test.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index f4c4704bab..498e0e35d9 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -267,15 +267,6 @@ static void dump_aml_files(test_data *data, bool rebui= ld) data->arch, data->machine, sdt->aml, ext); =20 - /* - * To keep test cases not failing before the DATA files are mo= ved to - * ${arch}/${machine} folder, add this check as well. - */ - if (!g_file_test(aml_file, G_FILE_TEST_EXISTS)) { - aml_file =3D g_strdup_printf("%s/%s/%.4s%s", data_dir, - data->machine, sdt->aml, ext); - } - if (!g_file_test(aml_file, G_FILE_TEST_EXISTS) && sdt->aml_len =3D=3D exp_sdt->aml_len && !memcmp(sdt->aml, exp_sdt->aml, sdt->aml_len)) { @@ -412,11 +403,6 @@ static GArray *load_expected_aml(test_data *data) try_again: aml_file =3D g_strdup_printf("%s/%s/%s/%.4s%s", data_dir, data->ar= ch, data->machine, sdt->aml, ext); - if (!g_file_test(aml_file, G_FILE_TEST_EXISTS)) { - aml_file =3D g_strdup_printf("%s/%s/%.4s%s", data_dir, data->m= achine, - sdt->aml, ext); - } - if (verbosity_level >=3D 2) { fprintf(stderr, "Looking for expected file '%s'\n", aml_file); } --=20 2.43.0