MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / test_cmd_std_c_builddir

Function test_cmd_std_c_builddir

test/cli/clang-import_test.py:220–223  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

218
219# TODO: remove when we inject the build-dir into all tests
220def test_cmd_std_c_builddir(tmp_path): # #13129
221 build_dir = tmp_path / 'b1'
222 os.makedirs(build_dir)
223 __test_cmd(tmp_path, 'test.cpp',['--std=c89', '--std=c++14', '--cppcheck-build-dir={}'.format(build_dir)], '-x c++ -std=c++14')
224
225
226def test_cmd_std_cpp(tmp_path): # #13129

Callers

nothing calls this directly

Calls 2

__test_cmdFunction · 0.85
formatMethod · 0.80

Tested by

no test coverage detected