Commit Graph
3 Commits
Author SHA1 Message Date
Jiapeng Chong e69980bd16 selftests/sched_ext: Remove duplicate sched.h header
./tools/testing/selftests/sched_ext/hotplug.c: sched.h is included more than once.

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=22941
Signed-off-by: Jiapeng Chong <[email protected]>
Acked-by: Andrea Righi <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
2025-08-11 08:24:08 -10:00
Andrea Righi 74ca334338 selftests/sched_ext: Fix enum resolution
All scx enums are now automatically generated from vmlinux.h and they
must be initialized using the SCX_ENUM_INIT() macro.

Fix the scx selftests to use this macro to properly initialize these
values.

Fixes: 8da7bf2cee ("tools/sched_ext: Receive updates from SCX repo")
Reported-by: Ihor Solodrai <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Andrea Righi <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
2025-01-24 08:09:52 -10:00
David Vernet a5db7817af sched_ext: Add selftests
Add basic selftests.

Signed-off-by: David Vernet <[email protected]>
Acked-by: Tejun Heo <[email protected]>
2024-06-18 10:09:21 -10:00