Re: [PATCH v3 2/2] selftests: sched: skip cs_prctl_test for systems with core scheduling disabled

2025-02-26 Thread Shrikanth Hegde
, 1) (372) PASSED: _prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_TO, 0, PIDTYPE_PGID, 1) < 0 && errno == EINVAL SUCCESS !!! So for this patch, Tested-by: Shrikanth Hegde

Re: [PATCH v2 2/2] selftests: sched: skip cs_prctl_test for systems with core scheduling disabled

2025-02-24 Thread Shrikanth Hegde
On 2/21/25 17:27, Sinadin Shan wrote: For kernels with CONFIG_SCHED_CORE=n, the sched selftest cs_prctl_test fails with "Not a core sched system" error. Change this to gracefully skip the test for systems with core scheduling disabled. Exiting early would also ensure failures reported in obtai

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

2025-02-19 Thread Shrikanth Hegde
On 2/19/25 12:16, Sinadin Shan wrote: 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 sinc