Skip to content

Commit

Permalink
Update whole-program_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github authored Jan 7, 2025
1 parent 750b92c commit f65bc60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/cli/whole-program_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,15 +375,15 @@ def __test_nullpointer_file0(extra_args):
file0 = ''
for e in results.findall('errors/error[@id="ctunullpointer"]'):
file0 = e.attrib['file0']
assert file0 == 'whole-program/nullpointer1.cpp'
assert stdout == ''
assert ret == 1, stdout

assert ret == 1, , stdout if stdout else stderr
assert stdout == ''
assert file0 == 'whole-program/nullpointer1.cpp', stderr

def test_nullpointer_file0():
__test_nullpointer_file0(['-j1'])

@pytest.mark.skip(reason="flaky!?")
@pytest.mark.xfail(strict=True) # no CTU without builddir
def test_nullpointer_file0_j():
__test_nullpointer_file0(['-j2'])

Expand Down

0 comments on commit f65bc60

Please sign in to comment.