Index: tools/clang/scripts/update.sh |
diff --git a/tools/clang/scripts/update.sh b/tools/clang/scripts/update.sh |
index aef39e80ed0d816ba7ee4f1c7634278da6b8a0e8..8dba11f1afcf0cd1f5288304d3d1751d879685da 100755 |
--- a/tools/clang/scripts/update.sh |
+++ b/tools/clang/scripts/update.sh |
@@ -311,8 +311,12 @@ done |
if [[ -n "$run_tests" ]]; then |
# Run a few tests. |
- PLUGIN_SRC_DIR="${THIS_DIR}/../plugins" |
- "${PLUGIN_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts" |
+ for CHROME_TOOL_DIR in ${chrome_tools}; do |
+ TOOL_SRC_DIR="${THIS_DIR}/../${CHROME_TOOL_DIR}" |
+ if [[ -f "${TOOL_SRC_DIR}/tests/test.sh" ]]; then |
+ "${TOOL_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts" |
+ fi |
+ done |
cd "${LLVM_BUILD_DIR}" |
make check-all |
cd - |