Skip to content

Commit c376c64

Browse files
committed
add fixture
1 parent 1a5ee37 commit c376c64

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_clang_tidy.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
@pytest.fixture(scope='function')
99
def generate_compilation_database():
1010
# Generate compilation database
11-
subprocess.run(['mkdir', '-p', 'build', '&&', 'cmake', '-Bbuild', 'testing/'], shell=True)
11+
subprocess.run(['mkdir', '-p', 'build'])
12+
subprocess.run(['cmake', '-Bbuild', 'testing/'])
1213

1314

1415
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)