Fix the checks to determine pass/fail for test_code_style.

This commit is contained in:
Advait Jain 2021-01-08 14:39:33 -08:00
parent 1a324f5c72
commit be1f6656bf

View File

@ -131,11 +131,11 @@ fi
# Re-enable exit on error now that we are done with the temporary git repo. # Re-enable exit on error now that we are done with the temporary git repo.
set -e set -e
if [[ -n ${LICENSE_CHECK_RESULT} || \ if [[ ${LICENSE_CHECK_RESULT} != 0 || \
${CLANG_FORMAT_RESULT} || \ ${CLANG_FORMAT_RESULT} != 0 || \
${GTEST_RESULT} || \ ${GTEST_RESULT} != 0 || \
${ERROR_REPORTER_RESULT} || \ ${ERROR_REPORTER_RESULT} != 0 || \
${ASSERT_RESULT} \ ${ASSERT_RESULT} != 0 \
]] ]]
then then
exit 1 exit 1