Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: tools/clang/plugins/tests/test.sh

Issue 8538027: Roll clang 143497:144521 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no cc1 Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/clang/scripts/update.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/plugins/tests/test.sh
diff --git a/tools/clang/plugins/tests/test.sh b/tools/clang/plugins/tests/test.sh
index c74cd3aba8823fd390425d1356493273748623b6..fcfd213c5eda55e906b0249daa96262180a8520e 100755
--- a/tools/clang/plugins/tests/test.sh
+++ b/tools/clang/plugins/tests/test.sh
@@ -23,9 +23,9 @@ usage() {
# Runs a single test case.
do_testcase() {
- local output="$("${CLANG_DIR}"/bin/clang -cc1 \
- -load "${CLANG_DIR}"/lib/libFindBadConstructs.${LIB} \
- -plugin find-bad-constructs ${1} 2>&1)"
+ local output="$("${CLANG_DIR}"/bin/clang -c \
+ -Xclang -load -Xclang "${CLANG_DIR}"/lib/libFindBadConstructs.${LIB} \
+ -Xclang -plugin -Xclang find-bad-constructs ${1} 2>&1)"
local diffout="$(echo "${output}" | diff - "${2}")"
if [ "${diffout}" = "" ]; then
echo "PASS: ${1}"
« no previous file with comments | « no previous file | tools/clang/scripts/update.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698