Chromium Code Reviews| Index: tools/clang/plugins/tests/test.sh |
| diff --git a/tools/clang/plugins/tests/test.sh b/tools/clang/plugins/tests/test.sh |
| index 262ebbba292b491431a2717ad0eff093a7bfcad7..d9f065432d5dedc9984155fb622721b5aad33c93 100755 |
| --- a/tools/clang/plugins/tests/test.sh |
| +++ b/tools/clang/plugins/tests/test.sh |
| @@ -25,7 +25,7 @@ usage() { |
| do_testcase() { |
| local output="$("${CLANG_DIR}"/bin/clang -c -Wno-c++11-extensions \ |
| -Xclang -load -Xclang "${CLANG_DIR}"/lib/libFindBadConstructs.${LIB} \ |
| - -Xclang -plugin -Xclang find-bad-constructs ${1} 2>&1)" |
| + -Xclang -add-plugin -Xclang find-bad-constructs ${1} 2>&1)" |
|
Nico
2012/07/21 18:36:37
Why this change?
|
| local diffout="$(echo "${output}" | diff - "${2}")" |
| if [ "${diffout}" = "" ]; then |
| echo "PASS: ${1}" |