Skip to content

Commit 0eb4dd8

Browse files
authored
refs #13532 - test/cli/clang-import_test.py: pass -qto some invocations (#7643)
1 parent 9b11b6b commit 0eb4dd8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/cli/clang-import_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def __check_symbol_database(tmpdir, code):
4747
testfile = os.path.join(tmpdir, 'test.cpp')
4848
with open(testfile, 'w+t') as f:
4949
f.write(code)
50-
ret1, stdout1, _ = cppcheck(['--clang', '--debug-symdb', testfile])
51-
ret2, stdout2, _ = cppcheck(['--debug-symdb', testfile])
50+
ret1, stdout1, _ = cppcheck(['-q', '--clang', '--debug-symdb', testfile])
51+
ret2, stdout2, _ = cppcheck(['-q', '--debug-symdb', testfile])
5252
assert 0 == ret1, stdout1
5353
assert 0 == ret2, stdout2
5454
assert __get_debug_section('### Symbol database', stdout1) == __get_debug_section('### Symbol database', stdout2)
@@ -58,8 +58,8 @@ def __check_ast(tmpdir, code):
5858
testfile = os.path.join(tmpdir, 'test.cpp')
5959
with open(testfile, 'w+t') as f:
6060
f.write(code)
61-
ret1, stdout1, _ = cppcheck(['--clang', '--debug-ast', testfile])
62-
ret2, stdout2, _ = cppcheck(['--debug-ast', testfile])
61+
ret1, stdout1, _ = cppcheck(['-q', '--clang', '--debug-ast', testfile])
62+
ret2, stdout2, _ = cppcheck(['-q', '--debug-ast', testfile])
6363
assert 0 == ret1, stdout1
6464
assert 0 == ret2, stdout1
6565
assert __get_debug_section('##AST', stdout1) == __get_debug_section('##AST', stdout2)

0 commit comments

Comments
 (0)