Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2903916lqo; Tue, 21 May 2024 00:05:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXH2I6HQPrEDEpPzoqRf27+37Ww0tQzSGTRgV+xBzK+/MLcgKSaXANfjGw6RTm1Gu9wqVRLZr72D/+4n2wXrWX1q3r73Y6UZv+bV9foWA== X-Google-Smtp-Source: AGHT+IFawUESlmuVaI4dvcrMwS6s57RK4IS11JTaF27cTL/BRHBC1rHemhOBN3UXoZBrtDaAj7Td X-Received: by 2002:a05:6a20:c891:b0:1a9:7afc:591c with SMTP id adf61e73a8af0-1afde08230bmr47919406637.10.1716275152233; Tue, 21 May 2024 00:05:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716275152; cv=pass; d=google.com; s=arc-20160816; b=zK/WTS7mgphFRBBeWZJQ/r2Adz/0mN4ZAAJx0nDiQdGIdkYy5BIZmhNUmRwhDPwh5B j+Dm3zjUpyroDRu6rnHG09xIGxpoUlDguFVuLNcZAEa4FZyhcyft5VmArXKmsY0kj2QI o8kirEU7YdlprJbAN/0OcvTbt6zQ3QWrSS1DiY1yuZkn6ravDDKjY+dZTnhPEqHfBb4O pigCwUg68g6vjbqOe1c6SbupjngrTVeXod5UwuH49wswVdoeFJXZgX877/GJKsr/vTGE D3ezXFpXLoUYTQFM+zCnkR353iy2+5Naag1eCl5JvK1jtQrwP/XOjYEzJvGdT6HqMxuy WAoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=1hQl9ca9x9Gt/s85I+qoZtIArF89HUSbPwf7SXujmzI=; fh=IUGgAiN7AvZZsuD6omiLNU2CM5eP1ixfiX7st0fILrI=; b=xSMd8MU35CtQFJMk25mifm96qV7pTkCj3gQ0KATwF2SBeOiTicwcGtUMBphAzjeBju r2GXZ1bFljCkPMGbazkX+wBpRa+O3fl82jeJu+vkJAkJnRtseq1An6RyspX5llmYXKjN nzmTATK9oiOjfluMqyKUKDTK4k+se9B1P+hxiBnkC8VLhp/Ko05eerwTKaJQCe04/lsj QcytU6Gwv1RlTBMf5ADC+bH83ogpmvt6HMqVZ/tyygisbEdPxZmkVYMI7qCIT9Qz1gTo WdHxr+b8cGG/Y6pzVgdX8zFVFfJJYEAzHkQTNJFVAcBX7ny4phPsgwwplNgTxruGD4Q7 YQ5A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=qm0vO6hS; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-184547-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184547-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-657ed3708dbsi9960847a12.592.2024.05.21.00.05.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 00:05:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184547-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=qm0vO6hS; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-184547-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184547-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0E5D9B20C11 for ; Tue, 21 May 2024 07:05:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C163C4AEE5; Tue, 21 May 2024 07:05:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="qm0vO6hS" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 68D867F; Tue, 21 May 2024 07:05:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716275141; cv=none; b=mf9h68Eo12RIEKSmXZAh4Ec9L6Ehjz6YulVHMoJOmJHFrG/f8Pf7W1wIKB2pIyY4dEjFimL8abmuXHQiBJT6T2BsTzAkSchLj/77l6KH2vVpdQdzfdY3RquzU4m8cY6cbHvOP3LhM2eAiwyTczisnyR5U8Fw1OI5qNujotfmfT8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716275141; c=relaxed/simple; bh=nS/Dr2W3vGanwW9ifFd+bOFrHEwvBrs3b1sW5lLV82U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=UXasFjNFRARvwbyr1U+0tEk6mJ6tkL04vEKb1cVP4Me/amhRdRbZZHbo67JEGuYTkG+QVMnaOFsguWme47ZHU82+J5tn/3RaN7acmC3ctDgv5icfB2NGLXLUeeEpTbW7GjyNLXiYbg85qIq1ZTdi9BfDdG8CwqRpjydd3fq6GXg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=qm0vO6hS; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1716275137; bh=nS/Dr2W3vGanwW9ifFd+bOFrHEwvBrs3b1sW5lLV82U=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=qm0vO6hSCRlLszYJes6vtZsP0qVLDOWOlMVSXIEkovjNeL4Dq+Cc+8MXdXP7o9Ngt dEgAlzV+KObOGcAdS/6I44aVkdi+dzENzBC+C8438w5ZDIY3qhWEdam1o+AodVwzjv LXMakGJRGQchKxC8P/1xweTSAiUSv5m/wIebY9OQ7ZoehiIA9kMjvWzZlPc043uEtL I9WPKXT+MUL2ESyAvmJo630D/7kottF1JQB7ihruCKvj6sjbQnA/ZmNcTgV2aj4M44 yBEOL1WXeyBsLFdR4/W1aZOQopqDRLXK/J8L1Xq3XC3FW2nsXiT1XtAj/HU/gghFaX X7t22RCH7dZsQ== Received: from [100.66.96.193] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: vignesh) by madrid.collaboradmins.com (Postfix) with ESMTPSA id E0B0A378202E; Tue, 21 May 2024 07:05:33 +0000 (UTC) Message-ID: <9ab7eb04-d4c6-4a79-87cb-2d21e4bfa9c4@collabora.com> Date: Tue, 21 May 2024 12:35:32 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/6] drm/ci: generate testlist from build Content-Language: en-US To: Helen Koike , dri-devel@lists.freedesktop.org Cc: daniels@collabora.com, airlied@gmail.com, daniel@ffwll.ch, robdclark@gmail.com, david.heidelberg@collabora.com, guilherme.gallo@collabora.com, sergi.blanch.torne@collabora.com, dmitry.baryshkov@linaro.org, mcanal@igalia.com, linux-mediatek@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-rockchip@lists.infradead.org, amd-gfx@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, intel-gfx@lists.freedesktop.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org References: <20240517092502.647420-1-vignesh.raman@collabora.com> <20240517092502.647420-3-vignesh.raman@collabora.com> From: Vignesh Raman In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Helen, On 21/05/24 01:54, Helen Koike wrote: > > > On 17/05/2024 06:24, Vignesh Raman wrote: >> Stop vendoring the testlist into the kernel. Instead, use the >> testlist from the IGT build to ensure we do not miss renamed >> or newly added tests. >> >> Signed-off-by: Vignesh Raman >> --- >> >> v2: >>    - Fix testlist generation for arm and arm64 builds. >> >> --- >>   drivers/gpu/drm/ci/build-igt.sh  |   34 + >>   drivers/gpu/drm/ci/igt_runner.sh |    9 +- >>   drivers/gpu/drm/ci/testlist.txt  | 2761 ------------------------------ >>   3 files changed, 39 insertions(+), 2765 deletions(-) >>   delete mode 100644 drivers/gpu/drm/ci/testlist.txt >> >> diff --git a/drivers/gpu/drm/ci/build-igt.sh >> b/drivers/gpu/drm/ci/build-igt.sh >> index 7859554756c4..e62244728613 100644 >> --- a/drivers/gpu/drm/ci/build-igt.sh >> +++ b/drivers/gpu/drm/ci/build-igt.sh >> @@ -3,6 +3,30 @@ >>   set -ex >> +function generate_testlist { >> +    set +x >> +    while read -r line; do >> +        if [ "$line" = "TESTLIST" ] || [ "$line" = "END TESTLIST" ]; >> then >> +            continue >> +        fi >> + >> +        tests=$(echo "$line" | tr ' ' '\n') >> + >> +        for test in $tests; do >> +            output=$(/igt/libexec/igt-gpu-tools/"$test" >> --list-subtests || true) >> + >> +            if [ -z "$output" ]; then >> +                echo "$test" >> +            else >> +                echo "$output" | while read -r subtest; do >> +                    echo "$test@$subtest" >> +                done >> +            fi >> +        done >> +    done < /igt/libexec/igt-gpu-tools/test-list.txt > >> /igt/libexec/igt-gpu-tools/testlist.txt > > Just a nit, could you rename the file to ci-testlist.txt ? Since > test-list.txt and testlist.txt can be easily confused. Sure, will rename it. I missed to add the generating testlist print also. Regards, Vignesh > > Regards, > Helen >