<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/tools/testing/selftests/sched_ext/runner.c, branch linux-7.0.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-7.0.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-7.0.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2026-02-23T17:19:13+00:00</updated>
<entry>
<title>selftests/sched_ext: Abort test loop on signal</title>
<updated>2026-02-23T17:19:13+00:00</updated>
<author>
<name>Cheng-Yang Chou</name>
<email>yphbchou0911@gmail.com</email>
</author>
<published>2026-02-21T15:40:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9d851afa482680bdd7c158cc8720284dc9ecb5fe'/>
<id>urn:sha1:9d851afa482680bdd7c158cc8720284dc9ecb5fe</id>
<content type='text'>
The runner sets exit_req on SIGINT/SIGTERM but ignores it during the
main loop. This prevents users from cleanly interrupting a test run.

Check exit_req each iteration to safely break out on exit signals.

Signed-off-by: Cheng-Yang Chou &lt;yphbchou0911@gmail.com&gt;
Acked-by: Andrea Righi &lt;arighi@nvidia.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/sched_ext: flush stdout before test to avoid log spam</title>
<updated>2025-12-12T18:18:32+00:00</updated>
<author>
<name>Emil Tsalapatis</name>
<email>etsal@meta.com</email>
</author>
<published>2025-12-05T21:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=579a3297b268f0281644ead7ff574a2b4bc64d3c'/>
<id>urn:sha1:579a3297b268f0281644ead7ff574a2b4bc64d3c</id>
<content type='text'>
The sched_ext selftests runner runs each test in the same process,
with each test possibly forking multiple times. When the main runner
has not flushed its stdout, the children inherit the buffered output
for previous tests and emit it during exit. This causes log spam.

Make sure stdout/stderr is fully flushed before each test.

Cc: Ihor Solodrai &lt;ihor.solodrai@linux.dev&gt;
Signed-off-by: Emil Tsalapatis &lt;emil@etsalapatis.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
<entry>
<title>sched_ext: Add option -l in selftest runner to list all available tests</title>
<updated>2025-01-07T19:42:30+00:00</updated>
<author>
<name>Shizhao Chen</name>
<email>shichen@redhat.com</email>
</author>
<published>2025-01-07T15:52:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a73bca3d9cc0a27dd7061a55841a1d752ec7365a'/>
<id>urn:sha1:a73bca3d9cc0a27dd7061a55841a1d752ec7365a</id>
<content type='text'>
The selftest runner currently allows selecting tests via the -t
option. This patch adds a new -l option that lists all available tests,
providing users with an overview of the tests they can choose from. This
enhancement is especially useful for scripting and automation purposes,
making it easier to discover and run tests.

Signed-off-by: Shizhao Chen &lt;shichen@redhat.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
<entry>
<title>sched_ext: Add selftests</title>
<updated>2024-06-18T20:09:21+00:00</updated>
<author>
<name>David Vernet</name>
<email>dvernet@meta.com</email>
</author>
<published>2024-06-18T20:09:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a5db7817af780db6a7f290c79677eff4fd13c5fa'/>
<id>urn:sha1:a5db7817af780db6a7f290c79677eff4fd13c5fa</id>
<content type='text'>
Add basic selftests.

Signed-off-by: David Vernet &lt;dvernet@meta.com&gt;
Acked-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
</feed>
