diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2019-10-11 13:46:55 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2019-10-11 13:46:55 +0000 |
commit | aa87b081cdff970c4e24ceb15d1aca367a1edbf8 (patch) | |
tree | c3f4a787a197d1553df90d81af43c7cb13eefe22 | |
parent | d103e2d267dbe34d8fcce931abb9752d96e2f9d6 (diff) | |
download | bcm5719-llvm-aa87b081cdff970c4e24ceb15d1aca367a1edbf8.tar.gz bcm5719-llvm-aa87b081cdff970c4e24ceb15d1aca367a1edbf8.zip |
Updated add_new_check.py to create checker tests in the new directory
llvm-svn: 374551
-rwxr-xr-x | clang-tools-extra/clang-tidy/add_new_check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/add_new_check.py b/clang-tools-extra/clang-tidy/add_new_check.py index bba16ccc2ea..0a8a11b8d0d 100755 --- a/clang-tools-extra/clang-tidy/add_new_check.py +++ b/clang-tools-extra/clang-tidy/add_new_check.py @@ -269,7 +269,7 @@ def add_release_notes(module_path, module, check_name): # Adds a test for the check. def write_test(module_path, module, check_name, test_extension): check_name_dashes = module + '-' + check_name - filename = os.path.normpath(os.path.join(module_path, '../../test/clang-tidy', + filename = os.path.normpath(os.path.join(module_path, '../../test/clang-tidy/checkers', check_name_dashes + '.' + test_extension)) print('Creating %s...' % filename) with open(filename, 'w') as f: |