<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/BaseTools/Tests/TestFmmtExit.py, branch master</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-09-29T17:12:07+00:00</updated>
<entry>
<title>BaseTools/FMMT: Return non-zero exit status on failure</title>
<updated>2026-09-29T17:12:07+00:00</updated>
<author>
<name>Zhaoqi Xu</name>
<email>lzy00419@outlook.com</email>
</author>
<published>2026-08-31T08:33:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=53d441a7402aab3ecd02909ae1a0ae6a2e135332'/>
<id>urn:sha1:53d441a7402aab3ecd02909ae1a0ae6a2e135332</id>
<content type='text'>
FMMT catches exceptions from operations such as viewing a missing
input file, prints the error, and then returns status 0. Callers
and scripts treat that as success.

Set status to 1 in the exception handler so the process exit code
matches the failure.

A regression test covers FMMT -v not-a-file.

Signed-off-by: Zhaoqi Xu &lt;lzy00419@outlook.com&gt;
</content>
</entry>
</feed>
