Skip to content

Commit bcfc4e3

Browse files
committed
test/cli/whole-program_test.py: xfail'd test_nullpointer_out_of_memory[True]
1 parent 8930b1d commit bcfc4e3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/cli/whole-program_test.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,11 @@ def test_nullpointer_file0_builddir_j(tmpdir):
372372
os.mkdir(build_dir)
373373
__test_nullpointer_file0(['-j2', '--cppcheck-build-dir={}'.format(build_dir)])
374374

375-
@pytest.mark.parametrize("single_file", (False,True))
375+
# TODO: this only succeeded because it depedent on the bugged unqiue message handling
376+
@pytest.mark.parametrize("single_file", [
377+
False,
378+
pytest.param(True, marks=pytest.mark.xfail(strict=True)),
379+
])
376380
def test_nullpointer_out_of_memory(tmpdir, single_file):
377381
"""Ensure that there are not duplicate warnings related to memory/resource allocation failures
378382
https://trac.cppcheck.net/ticket/13521

0 commit comments

Comments
 (0)