Skip to content

Commit

Permalink
remove generate_compilation_database
Browse files Browse the repository at this point in the history
  • Loading branch information
shenxianpeng committed Aug 16, 2024
1 parent a7c0c88 commit 5719ae9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_clang_tidy.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ def generate_compilation_database():
(['--checks="boost-*"', '--version=16'], 1),
),
)
def test_run_clang_tidy_valid(args, expected_retval, generate_compilation_database):
def test_run_clang_tidy_valid(args, expected_retval):
# copy test file to tmp_path to prevent modifying repo data
generate_compilation_database
test_file = Path("testing/main.c")
test_file.write_bytes(Path("testing/main.c").read_bytes())
ret, output = run_clang_tidy(args + [str(test_file)])
Expand Down

0 comments on commit 5719ae9

Please sign in to comment.