test passing multiple files

This commit is contained in:
Krishna Vedala 2020-07-10 21:33:03 -04:00
parent fd2c883883
commit 22202f0cea
No known key found for this signature in database
GPG Key ID: BA19ACF8FC8792F7

View File

@ -120,9 +120,11 @@ jobs:
if not cpp_files:
sys.exit(0)
for cpp_file in cpp_files:
subprocess.run(["clang-tidy-10", "-p=build", cpp_file, "--"],
subprocess.run(["clang-tidy-10", "-p=build", *cpp_files, "--"],
check=True, text=True, stderr=subprocess.STDOUT)
# for cpp_file in cpp_files:
# subprocess.run(["clang-tidy-10", "-p=build", cpp_file, "--"],
# check=True, text=True, stderr=subprocess.STDOUT)
# print("g++:")
# compile_exts = tuple(".c .c++ .cc .cpp .cu .cxx".split())