<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/test/cmd_ut.c, branch v2026.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/test/cmd_ut.c?h=v2026.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/test/cmd_ut.c?h=v2026.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2025-02-12T02:12:36Z</updated>
<entry>
<title>test: Update documentation</title>
<updated>2025-02-12T02:12:36Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-02-07T18:31:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=404cdf0cdaacfa8595f8ec268709612d48335f01'/>
<id>urn:sha1:404cdf0cdaacfa8595f8ec268709612d48335f01</id>
<content type='text'>
Update documentation for how to write tests and the 'ut' command.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Do flag-processing in the correct place</title>
<updated>2025-02-12T02:12:36Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-02-07T18:30:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=540bf7881a1a1c79c4d256b68396ae699e3a3157'/>
<id>urn:sha1:540bf7881a1a1c79c4d256b68396ae699e3a3157</id>
<content type='text'>
At present the 'ut' command handles its flags in a strange way, in that
they must come after the subcommand.

So, we must use 'ut bloblist -r2' to run the bloblist tests twice. This
is an artefact of the way tests were run, through subcommands.

It is now possible to correct this, by doing flag-processing before
running the suite.

Update the code to handle this, so that 'ut -r2 bloblist' works. Update
the 'test_suite' test to check the new arguments.

Add a sanity-check for -I while we are here.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Move code out of cmd_ut_category()</title>
<updated>2025-02-12T02:12:36Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-02-07T18:30:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d45fc8b2cd44a8836a76b462cc7af3e40a2e4227'/>
<id>urn:sha1:d45fc8b2cd44a8836a76b462cc7af3e40a2e4227</id>
<content type='text'>
Move the logic from this function into run_suite(), on the way to having
flag parsing in the top-level 'ut' command instead of its children.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Allow running a selection of suites</title>
<updated>2025-02-12T02:12:36Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-02-07T18:30:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fa0b68d22add6416fa56a5907c752a9348ae1a45'/>
<id>urn:sha1:fa0b68d22add6416fa56a5907c752a9348ae1a45</id>
<content type='text'>
Enhance the ut command to accept a comma-separated list of test suites
to run. Report the summary information for these at the end.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Drop suites.h</title>
<updated>2025-02-12T02:12:36Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-02-07T18:30:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=32aba887e3d7cbcdf8fd98c107aaa79f3bd44a16'/>
<id>urn:sha1:32aba887e3d7cbcdf8fd98c107aaa79f3bd44a16</id>
<content type='text'>
This file is empty now. Remove it and its uses.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Make cmd_ut_category() static</title>
<updated>2025-02-12T02:10:59Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-02-07T18:30:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=854225191af5527619fcc944d38f2e2fd5d3ced1'/>
<id>urn:sha1:854225191af5527619fcc944d38f2e2fd5d3ced1</id>
<content type='text'>
This function is not used outside the cmd_ut file anymore, so make it
static.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Drop support for test commands</title>
<updated>2025-02-12T02:10:59Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-02-07T18:30:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=59713c412aeb2f1cafd42a77c948ce92d387de44'/>
<id>urn:sha1:59713c412aeb2f1cafd42a77c948ce92d387de44</id>
<content type='text'>
Now that everything is using the new test-suite features, drop support
for running commands.

Fix a missing closing-bracket while we are here.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Drop the function for running optee tests</title>
<updated>2025-02-12T02:10:59Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-02-07T18:30:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=daf583a3174f1c0ea7a617e6a5bb1b83051dfbad'/>
<id>urn:sha1:daf583a3174f1c0ea7a617e6a5bb1b83051dfbad</id>
<content type='text'>
Use the new suite-runner to run these tests instead.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Drop the function for running bootstd tests</title>
<updated>2025-02-12T02:10:59Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-02-07T18:30:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7e1c6bd0778baffd90164e69f1d5f8ea8729a5ae'/>
<id>urn:sha1:7e1c6bd0778baffd90164e69f1d5f8ea8729a5ae</id>
<content type='text'>
Use the new suite-runner to run these tests instead.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Drop the function for running fdt_overlay tests</title>
<updated>2025-02-12T02:10:59Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-02-07T18:30:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ba1112839ace31b4aed85506cf5fe74256c597df'/>
<id>urn:sha1:ba1112839ace31b4aed85506cf5fe74256c597df</id>
<content type='text'>
Use the new suite-runner to run these tests instead.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
