summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/sched_ext/Makefile
diff options
context:
space:
mode:
authorAndrea Righi <arighi@nvidia.com>2025-05-21 09:34:07 +0200
committerTejun Heo <tj@kernel.org>2025-05-21 07:35:58 -1000
commit36adf6fe6cbe59a22f64c004b201685cb6f38c42 (patch)
tree36e05a797c59149e56ac3cf8aef3fe1c04d9003f /tools/testing/selftests/sched_ext/Makefile
parenta730e3f7a48bc591bfa838c5d922e5a80ea51738 (diff)
downloadlwn-36adf6fe6cbe59a22f64c004b201685cb6f38c42.tar.gz
lwn-36adf6fe6cbe59a22f64c004b201685cb6f38c42.zip
selftests/sched_ext: Update test enq_select_cpu_fails
With commit 08699d20467b6 ("sched_ext: idle: Consolidate default idle CPU selection kfuncs") allowing scx_bpf_select_cpu_dfl() to be invoked from multiple contexts, update the test to validate that the kfunc behaves correctly when used from ops.enqueue() and via BPF test_run. Additionally, rename the test to enq_select_cpu, dropping "fails" from the name, as the logic has now been inverted. Signed-off-by: Andrea Righi <arighi@nvidia.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/testing/selftests/sched_ext/Makefile')
-rw-r--r--tools/testing/selftests/sched_ext/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/sched_ext/Makefile b/tools/testing/selftests/sched_ext/Makefile
index e9d5bc575f80..9d9d6b4c38b0 100644
--- a/tools/testing/selftests/sched_ext/Makefile
+++ b/tools/testing/selftests/sched_ext/Makefile
@@ -162,10 +162,10 @@ all_test_bpfprogs := $(foreach prog,$(wildcard *.bpf.c),$(INCLUDE_DIR)/$(patsubs
auto-test-targets := \
create_dsq \
enq_last_no_enq_fails \
- enq_select_cpu_fails \
ddsp_bogus_dsq_fail \
ddsp_vtimelocal_fail \
dsp_local_on \
+ enq_select_cpu \
exit \
hotplug \
init_enable_count \