]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/build/build.py
BaseTools/build.py: Exit with 1 when AutoGen error occurred
authorIrene Park <ipark@nvidia.com>
Tue, 2 Jun 2020 21:58:50 +0000 (05:58 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sun, 7 Jun 2020 12:51:25 +0000 (12:51 +0000)
commit28dd887d68409c8788c858e29063ee599ebaaa91
treeb895573144b46d42a21dd95ee99c22e9b3d93d12
parent037d86dd7a9ef36c85bf416d358f2ef60a4940b3
BaseTools/build.py: Exit with 1 when AutoGen error occurred

AutoGen manager/workers halt the progress when an error occurs but
doesn't propagate the error code to main and allows main exit with 0
and gets the build system unable to catch the occurrence of an error.
This change informs main with an error when a progress is halted and
helps main exit with 1.

Signed-off-by: Irene Park <ipark@nvidia.com>
Reviewed-by: Bob Feng<bob.c.feng@intel.com>
BaseTools/Source/Python/build/build.py