mirror of https://github.com/acidanthera/audk.git
BaseTools/HostBasedUnitTestRunner: Promote Unittest error to CI fail.
Some unit tests would fail to execute or execute and not produce any output logs. In these cases, the only output would be in the CI Log as `UnitTest Execution Error`. A UnitTest Execution Error should be considered the same as a unit tests test failing. Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
This commit is contained in:
parent
5366def8d0
commit
8e6ba0dcae
|
@ -110,6 +110,7 @@ class HostBasedUnitTestRunner(IUefiBuildPlugin):
|
|||
if ret != 0:
|
||||
logging.error("UnitTest Execution Error: " +
|
||||
os.path.basename(test))
|
||||
failure_count += 1
|
||||
else:
|
||||
logging.info("UnitTest Completed: " +
|
||||
os.path.basename(test))
|
||||
|
|
Loading…
Reference in New Issue