Skip to content

Commit fbc814a

Browse files
Update other_test.py
1 parent 39c118f commit fbc814a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

test/cli/other_test.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2038,6 +2038,17 @@ def test_builddir_hash_check_level(tmp_path): # #13376
20382038
build_dir = tmp_path / 'b1'
20392039
os.mkdir(build_dir)
20402040

2041+
args = [ # // #14029
2042+
'--enable=warning', # to execute the code which generates the normalCheckLevelMaxBranches message
2043+
'--cppcheck-build-dir={}'.format(build_dir),
2044+
'--template=simple',
2045+
str(test_file)
2046+
]
2047+
2048+
exitcode, stdout, stderr = cppcheck(args)
2049+
assert exitcode == 0, stdout
2050+
assert stderr == ''
2051+
20412052
args = [
20422053
'--enable=warning', # to execute the code which generates the normalCheckLevelMaxBranches message
20432054
'--enable=information', # to show the normalCheckLevelMaxBranches message

0 commit comments

Comments
 (0)