Check $? of 'make' before a 'set -e' call. Else it is overridden.
BUG=None TEST= Review URL: http://codereview.chromium.org/8758007 git-svn-id: http://src.chromium.org/svn/trunk/src/build@112360 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
a32f6cb4de
Коммит
5e75de21b2
|
@ -58,10 +58,10 @@ for target in ${EXPERIMENTAL_TARGETS} ; do
|
||||||
echo "@@@BUILD_STEP Experimental Compile $target @@@"
|
echo "@@@BUILD_STEP Experimental Compile $target @@@"
|
||||||
set +e
|
set +e
|
||||||
make -j4 "${target}"
|
make -j4 "${target}"
|
||||||
set -e
|
|
||||||
if [ $? -ne 0 ] ; then
|
if [ $? -ne 0 ] ; then
|
||||||
echo "@@@STEP_WARNINGS@@@"
|
echo "@@@STEP_WARNINGS@@@"
|
||||||
fi
|
fi
|
||||||
|
set -e
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "@@@BUILD_STEP Run Tests@@@"
|
echo "@@@BUILD_STEP Run Tests@@@"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче