Fix the checks to determine pass/fail for test_code_style.
This commit is contained in:
parent
1a324f5c72
commit
be1f6656bf
@ -131,11 +131,11 @@ fi
|
||||
# Re-enable exit on error now that we are done with the temporary git repo.
|
||||
set -e
|
||||
|
||||
if [[ -n ${LICENSE_CHECK_RESULT} || \
|
||||
${CLANG_FORMAT_RESULT} || \
|
||||
${GTEST_RESULT} || \
|
||||
${ERROR_REPORTER_RESULT} || \
|
||||
${ASSERT_RESULT} \
|
||||
if [[ ${LICENSE_CHECK_RESULT} != 0 || \
|
||||
${CLANG_FORMAT_RESULT} != 0 || \
|
||||
${GTEST_RESULT} != 0 || \
|
||||
${ERROR_REPORTER_RESULT} != 0 || \
|
||||
${ASSERT_RESULT} != 0 \
|
||||
]]
|
||||
then
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user