Skip to content

Commit d8151e2

Browse files
committed
Track no-compile tests with XFAIL
1 parent e45ba88 commit d8151e2

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)