summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/check_clang_tidy.py
diff options
context:
space:
mode:
authorJonas Toth <jonas.toth@gmail.com>2018-10-04 16:39:41 +0000
committerJonas Toth <jonas.toth@gmail.com>2018-10-04 16:39:41 +0000
commit8920428376464c64d690211564f5630425cc4f46 (patch)
tree207c8c687c9651f8dd425f5ba10c7093c03ecca8 /clang-tools-extra/test/clang-tidy/check_clang_tidy.py
parent0451440f89abe66cca188b49f3a2716d2d72075d (diff)
downloadbcm5719-llvm-8920428376464c64d690211564f5630425cc4f46.tar.gz
bcm5719-llvm-8920428376464c64d690211564f5630425cc4f46.zip
[clang-tidy] fix failing unit tests
The removal from the FIX-IT notes through the check-clang-tidy script was done incorrect. I did not detect beforehand but adjusted the script and tests accordingly llvm-svn: 343797
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/check_clang_tidy.py')
-rwxr-xr-xclang-tools-extra/test/clang-tidy/check_clang_tidy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/check_clang_tidy.py b/clang-tools-extra/test/clang-tidy/check_clang_tidy.py
index 46fe0f6c8af..d1cefba3c75 100755
--- a/clang-tools-extra/test/clang-tidy/check_clang_tidy.py
+++ b/clang-tools-extra/test/clang-tidy/check_clang_tidy.py
@@ -165,7 +165,7 @@ def main():
if has_check_notes:
notes_file = temp_file_name + '.notes'
filtered_output = [line for line in clang_tidy_output.splitlines()
- if not "note: FIX-IT applied suggested changes" in line]
+ if not "note: FIX-IT applied" in line]
write_file(notes_file, '\n'.join(filtered_output))
try:
subprocess.check_output(
OpenPOWER on IntegriCloud