Index: build/android/buildbot_functions.sh |
diff --git a/build/android/buildbot_functions.sh b/build/android/buildbot_functions.sh |
index 42d63c2280005e3cc5930b64196ec0ae8b56215d..b38f96980b0f92975caef619e4c9b2ab5b560d72 100755 |
--- a/build/android/buildbot_functions.sh |
+++ b/build/android/buildbot_functions.sh |
@@ -266,10 +266,20 @@ function bb_extract_build { |
return 1 |
fi |
+ # extract_build issues warnings with return code above 1 |
+ ( |
+ set +x |
python ../../../../scripts/slave/extract_build.py \ |
--build-dir "$SRC_ROOT" \ |
--build-output-dir "out" \ |
--target Release \ |
--factory-properties "$FACTORY_PROPERTIES" \ |
--build-properties "$BUILD_PROPERTIES" |
+ extract_exitcode=$? |
+ if (( $extract_exitcode > 1 )); then |
newt (away)
2012/06/22 00:40:19
Are you intentionally ignoring an error code of 1?
|
+ echo "@@@STEP_WARNINGS@@@" |
+ return |
+ fi |
+ return $extract_exitcode |
+ ) |
} |