Skip to content

Commit

Permalink
build_slider: Correctly handle errors
Browse files Browse the repository at this point in the history
It's possible for a build failure to not be properly reported, causing
build false positives. Rectify that.

Bug: 191995355
Fixes: 796ae75 ("Rework build_slider to work with build_mixed.sh")
Signed-off-by: J. Avila <[email protected]>
Change-Id: Id6247fc0cf052347ee56ff3fead75be887aa71a0
  • Loading branch information
J. Avila authored and TreeHugger Robot committed Jun 24, 2021
1 parent 24c70ed commit ba75b07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build_slider.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ DEVICE_KERNEL_BUILD_CONFIG=${DEVICE_KERNEL_BUILD_CONFIG} \
GKI_DEFCONFIG_FRAGMENT=${GKI_DEFCONFIG_FRAGMENT} \
./build_mixed.sh

exit_if_error $? "Failed to create mixed build"

# If BUILD_KERNEL is not explicitly set, be sure that there are no aosp/
# changes not present in the prebuilt.
if [ "${CHECK_DIRTY_AOSP}" != "0" ]; then
Expand Down

0 comments on commit ba75b07

Please sign in to comment.