summaryrefslogtreecommitdiffstats
path: root/tools/clang/plugins/tests/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/clang/plugins/tests/test.sh')
-rwxr-xr-xtools/clang/plugins/tests/test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/clang/plugins/tests/test.sh b/tools/clang/plugins/tests/test.sh
index 262ebbb..eec23dd 100755
--- a/tools/clang/plugins/tests/test.sh
+++ b/tools/clang/plugins/tests/test.sh
@@ -25,6 +25,8 @@ usage() {
do_testcase() {
local output="$("${CLANG_DIR}"/bin/clang -c -Wno-c++11-extensions \
-Xclang -load -Xclang "${CLANG_DIR}"/lib/libFindBadConstructs.${LIB} \
+ -Xclang -plugin-arg-find-bad-constructs \
+ -Xclang check-inner-classes \
-Xclang -plugin -Xclang find-bad-constructs ${1} 2>&1)"
local diffout="$(echo "${output}" | diff - "${2}")"
if [ "${diffout}" = "" ]; then