| Index: tools/clang/scripts/update.sh
|
| diff --git a/tools/clang/scripts/update.sh b/tools/clang/scripts/update.sh
|
| index 2e0f0d0d78b702c6202fa4d438dea8f9ebf2c240..302d7cea6d091fcbccf4660f2fbefd479dca008e 100755
|
| --- a/tools/clang/scripts/update.sh
|
| +++ b/tools/clang/scripts/update.sh
|
| @@ -698,9 +698,11 @@ if [[ -n "${with_android}" ]]; then
|
| popd
|
| fi
|
|
|
| -if [[ -n "$run_tests" ]]; then
|
| +if [[ -n "$run_tests" -o -n ${LLVM_FORCE_HEAD_REVISION:-''} ]]; then
|
| # Run Chrome tool tests.
|
| ninja -C "${LLVM_BUILD_DIR}" cr-check-all
|
| +fi
|
| +if [[ -n "$run_tests" ]]; then
|
| # Run the LLVM and Clang tests.
|
| ninja -C "${LLVM_BUILD_DIR}" check-all
|
| fi
|
|
|