Skip to content

Commit 5cabdfb

Browse files
committed
Move tests that do not compile to XFAIL
1 parent 33214b6 commit 5cabdfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/lit/lit/formats/Cpp2RustTest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def fail(str, code = fail_code):
163163
if should_not_compile:
164164
if returncode != 0:
165165
shutil.rmtree(tmp_dir, True)
166-
return lit.Test.PASS, ''
166+
return lit.Test.XFAIL, ''
167167
return fail('expected no-compile but compiled successfully')
168168
if returncode != 0:
169169
return fail('cargo failed\n' + err)

0 commit comments

Comments
 (0)