From: Vignesh Raman <vignesh.raman@collabora.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: dri-devel@lists.freedesktop.org, daniels@collabora.com,
helen.koike@collabora.com, airlied@gmail.com, daniel@ffwll.ch,
robdclark@gmail.com, david.heidelberg@collabora.com,
guilherme.gallo@collabora.com, sergi.blanch.torne@collabora.com,
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
Subject: Re: [PATCH v2 2/6] drm/ci: generate testlist from build
Date: Tue, 21 May 2024 12:26:33 +0530 [thread overview]
Message-ID: <87fba814-eb5a-4b6a-800b-158987fca1d8@collabora.com> (raw)
In-Reply-To: <o363vir3dqz2znrnifo6enbdwudalmxqbigdkci2ykxf5qjbnx@2ngllflxotgk>
Hi Dmitry,
On 20/05/24 16:30, Dmitry Baryshkov wrote:
> On Fri, May 17, 2024 at 02:54:58PM +0530, 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 <vignesh.raman@collabora.com>
>> ---
>>
>> 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
>
> [...]
>
>> @@ -26,6 +50,16 @@ meson build $MESON_OPTIONS $EXTRA_MESON_ARGS
>> ninja -C build -j${FDO_CI_CONCURRENT:-4} || ninja -C build -j 1
>> ninja -C build install
>>
>> +if [[ "$KERNEL_ARCH" = "arm64" ]]; then
>> + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/igt/lib/aarch64-linux-gnu
>> +elif [[ "$KERNEL_ARCH" = "arm" ]]; then
>> + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/igt/lib
>> +else
>> + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/igt/lib64
>
> Could you please clarify this part? The arm64 vs arm don't look logical
> from my point of view.
>
> The rest LGTM.
The libs are installed in the below path for different arch.
> find . -name libigt.so
./x86/igt/lib64/libigt.so
./arm64/igt/lib/aarch64-linux-gnu/libigt.so
./arm/igt/lib/libigt.so
~/igt-build
So for arm64 it is 'lib/aarch64-linux-gnu' and arm it is 'lib'.
s3.freedesktop.org/artifacts/vigneshraman/linux/1179691/arm64/igt.tar.gz
s3.freedesktop.org/artifacts/vigneshraman/linux/1179691/arm/igt.tar.gz
s3.freedesktop.org/artifacts/vigneshraman/linux/1179691/x86_64/igt.tar.gz
Regards,
Vignesh
>
>> +fi
>> +
>> +generate_testlist
>> +
>> mkdir -p artifacts/
>> tar -cf artifacts/igt.tar /igt
>>
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next prev parent reply other threads:[~2024-05-21 6:56 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-17 9:24 [PATCH v2 0/6] drm/ci: uprev mesa/IGT and generate testlist Vignesh Raman
2024-05-17 9:24 ` [PATCH v2 1/6] drm/ci: uprev mesa version Vignesh Raman
2024-05-20 10:43 ` Dmitry Baryshkov
2024-05-23 6:07 ` Vignesh Raman
2024-05-23 9:59 ` Dmitry Baryshkov
2024-05-24 6:46 ` Vignesh Raman
2024-05-17 9:24 ` [PATCH v2 2/6] drm/ci: generate testlist from build Vignesh Raman
2024-05-20 11:00 ` Dmitry Baryshkov
2024-05-21 6:56 ` Vignesh Raman [this message]
2024-05-20 20:24 ` Helen Koike
2024-05-21 7:05 ` Vignesh Raman
2024-05-17 9:24 ` [PATCH v2 3/6] drm/ci: build virtual GPU driver as module Vignesh Raman
2024-05-20 11:02 ` Dmitry Baryshkov
2024-05-21 7:09 ` Vignesh Raman
2024-05-23 5:45 ` Vignesh Raman
2024-05-17 9:25 ` [PATCH v2 4/6] drm/ci: uprev IGT Vignesh Raman
2024-05-20 11:03 ` Dmitry Baryshkov
2024-05-17 9:25 ` [PATCH v2 5/6] drm/ci: skip driver specific tests Vignesh Raman
2024-05-20 11:03 ` Dmitry Baryshkov
2024-05-17 9:25 ` [PATCH v2 6/6] drm/ci: update xfails for the new testlist Vignesh Raman
2024-05-20 11:05 ` Dmitry Baryshkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fba814-eb5a-4b6a-800b-158987fca1d8@collabora.com \
--to=vignesh.raman@collabora.com \
--cc=airlied@gmail.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=daniel@ffwll.ch \
--cc=daniels@collabora.com \
--cc=david.heidelberg@collabora.com \
--cc=dmitry.baryshkov@linaro.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=guilherme.gallo@collabora.com \
--cc=helen.koike@collabora.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mcanal@igalia.com \
--cc=robdclark@gmail.com \
--cc=sergi.blanch.torne@collabora.com \
--cc=virtualization@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox