Skip to content

Commit

Permalink
Use build dir with -j2
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Jan 4, 2025
1 parent e28646c commit 65e54b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/cli/whole-program_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ def __test_nullpointer_file0(extra_args):
def test_nullpointer_file0():
__test_nullpointer_file0(['-j1'])

@pytest.mark.xfail(strict=True) # TODO: check error
def test_nullpointer_file0_j():
__test_nullpointer_file0(['-j2'])
build_dir = os.path.join(tmpdir, 'b1')
os.mkdir(build_dir)
__test_nullpointer_file0(['-j2', '--cppcheck-build-dir={}'.format(build_dir)])

0 comments on commit 65e54b5

Please sign in to comment.