mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] selftests: sched: add sched as a default selftest target
@ 2025-02-19  6:46 Sinadin Shan
  2025-02-19 16:03 ` Chris Hyser
  2025-02-20  7:45 ` Shrikanth Hegde
  0 siblings, 2 replies; 9+ messages in thread
From: Sinadin Shan @ 2025-02-19  6:46 UTC (permalink / raw)
  To: shuah; +Cc: linux-kselftest, linux-kernel, chris.hyser, Sinadin Shan

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@linuxfoundation.org/

Add support for sched selftests by adding sched as a default TARGET

Signed-off-by: Sinadin Shan <sinadin.shan@oracle.com>
---
 tools/testing/selftests/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile
index 8daac70c2f9d2..e2d0d389ad912 100644
--- a/tools/testing/selftests/Makefile
+++ b/tools/testing/selftests/Makefile
@@ -91,6 +91,7 @@ TARGETS += rlimits
 TARGETS += rseq
 TARGETS += rtc
 TARGETS += rust
+TARGETS += sched
 TARGETS += sched_ext
 TARGETS += seccomp
 TARGETS += sgx
-- 
2.43.5


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-02-21  9:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-19  6:46 [PATCH] selftests: sched: add sched as a default selftest target Sinadin Shan
2025-02-19 16:03 ` Chris Hyser
2025-02-20  7:45 ` Shrikanth Hegde
2025-02-20 14:52   ` Shan
2025-02-20 15:56     ` Chris Hyser
2025-02-20 16:23       ` Shan
2025-02-21  4:21         ` Chris Hyser
2025-02-21  6:00           ` Chris Hyser
2025-02-21  9:09             ` Shan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®