Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions test/cli/clang-import_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def __check_symbol_database(tmpdir, code):
testfile = os.path.join(tmpdir, 'test.cpp')
with open(testfile, 'w+t') as f:
f.write(code)
ret1, stdout1, _ = cppcheck(['--clang', '--debug-symdb', testfile])
ret2, stdout2, _ = cppcheck(['--debug-symdb', testfile])
ret1, stdout1, _ = cppcheck(['-q', '--clang', '--debug-symdb', testfile])
ret2, stdout2, _ = cppcheck(['-q', '--debug-symdb', testfile])
assert 0 == ret1, stdout1
assert 0 == ret2, stdout2
assert __get_debug_section('### Symbol database', stdout1) == __get_debug_section('### Symbol database', stdout2)
Expand All @@ -58,8 +58,8 @@ def __check_ast(tmpdir, code):
testfile = os.path.join(tmpdir, 'test.cpp')
with open(testfile, 'w+t') as f:
f.write(code)
ret1, stdout1, _ = cppcheck(['--clang', '--debug-ast', testfile])
ret2, stdout2, _ = cppcheck(['--debug-ast', testfile])
ret1, stdout1, _ = cppcheck(['-q', '--clang', '--debug-ast', testfile])
ret2, stdout2, _ = cppcheck(['-q', '--debug-ast', testfile])
assert 0 == ret1, stdout1
assert 0 == ret2, stdout1
assert __get_debug_section('##AST', stdout1) == __get_debug_section('##AST', stdout2)
Expand Down