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

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

Issue 8574008: Revert 109982 - Roll clang 143497:144521 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
===================================================================
--- tools/clang/plugins/tests/test.sh (revision 110100)
+++ tools/clang/plugins/tests/test.sh (working copy)
@@ -23,9 +23,9 @@
# Runs a single test case.
do_testcase() {
- 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 output="$("${CLANG_DIR}"/bin/clang -cc1 \
+ -load "${CLANG_DIR}"/lib/libFindBadConstructs.${LIB} \
+ -plugin 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