Re: [PATCH] selftests: sched: add sched as a default selftest target

From: Chris Hyser
Date: Wed Feb 19 2025 - 11:05:26 EST


> From: Sinadin Shan <sinadin.shan@xxxxxxxxxx>
> Sent: Wednesday, February 19, 2025 1:46 AM
> To: shuah@xxxxxxxxxx
> Cc: linux-kselftest@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Chris Hyser; Sinadin Shan
> Subject: [PATCH] selftests: sched: add sched as a default selftest target
>
> The sched tests are missing a target entry and hence out-of-tree build
> support.
>
> For instance:
> make -C tools/testing/selftests install INSTALL_LOCATION=/foo/bar
>
> is expected to build the sched tests and place them at /foo/bar.
> But this is not observed since a TARGET entry is not present for sched.
>
> This was suggested by Shuah in this conversation
> Link: https://lore.kernel.org/linux-kselftest/60dd0240-8e45-4958-acf2-7eeee917785b@xxxxxxxxxxxxxxxxxxx/
>
> Add support for sched selftests by adding sched as a default TARGET
>
> Signed-off-by: Sinadin Shan <sinadin.shan@xxxxxxxxxx>

Reviewed-by: Chris Hyser <chris.hyser@xxxxxxxxxx>