Skip to content

Commit 17f17ed

Browse files
Update inline-suppress_test.py
1 parent adb34f2 commit 17f17ed

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

test/cli/inline-suppress_test.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def test_build_dir(tmpdir):
247247
assert stdout == ''
248248
assert ret == 0, stdout
249249

250-
def test_build_dir_threads_suppressions(tmpdir): #14064
250+
def test_build_dir_jobs_suppressions(tmpdir): #14064
251251
args = [
252252
'-q',
253253
'--template=simple',
@@ -268,6 +268,8 @@ def test_build_dir_threads_suppressions(tmpdir): #14064
268268
assert os.path.exists(a1Path)
269269
mtimeOld = os.path.getmtime(a1Path)
270270

271+
time.sleep(1)
272+
271273
for _ in range(1, 10):
272274
cppcheck(args, cwd=__script_dir)
273275

@@ -497,4 +499,4 @@ def test_unmatched_cfg():
497499
'{}cfg.c:9:0: information: Unmatched suppression: id [unmatchedSuppression]'.format(__proj_inline_suppres_path),
498500
]
499501
assert stdout == ''
500-
assert ret == 0, stdout
502+
assert ret == 0, stdout

0 commit comments

Comments
 (0)