| Index: tools/clang/blink_gc_plugin/tests/test.sh
|
| diff --git a/tools/clang/plugins/tests/test.sh b/tools/clang/blink_gc_plugin/tests/test.sh
|
| similarity index 89%
|
| copy from tools/clang/plugins/tests/test.sh
|
| copy to tools/clang/blink_gc_plugin/tests/test.sh
|
| index cf3acc3afa0e540986eedf09fc203610df16c1ed..f64e8b0cf2f20098df66564fd90d08e8ce602ccf 100755
|
| --- a/tools/clang/plugins/tests/test.sh
|
| +++ b/tools/clang/blink_gc_plugin/tests/test.sh
|
| @@ -17,7 +17,7 @@ usage() {
|
| echo "Usage: $(basename "${0}")" \
|
| "<Path to the llvm build dir, usually Release+Asserts>"
|
| echo ""
|
| - echo " Runs all the libFindBadConstructs unit tests"
|
| + echo " Runs all the libBlinkGCPlugin unit tests"
|
| echo ""
|
| }
|
|
|
| @@ -28,8 +28,8 @@ do_testcase() {
|
| flags="$(cat "${3}")"
|
| fi
|
| local output="$("${CLANG_DIR}"/bin/clang -c -Wno-c++11-extensions \
|
| - -Xclang -load -Xclang "${CLANG_DIR}"/lib/libFindBadConstructs.${LIB} \
|
| - -Xclang -add-plugin -Xclang find-bad-constructs ${flags} ${1} 2>&1)"
|
| + -Xclang -load -Xclang "${CLANG_DIR}"/lib/libBlinkGCPlugin.${LIB} \
|
| + -Xclang -add-plugin -Xclang blink-gc-plugin ${flags} ${1} 2>&1)"
|
| local diffout="$(echo "${output}" | diff - "${2}")"
|
| if [ "${diffout}" = "" ]; then
|
| echo "PASS: ${1}"
|
|
|