Skip to content

Commit 51e932f

Browse files
committed
edits
1 parent d0c35d9 commit 51e932f

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
@@ -250,7 +250,7 @@ def run_rust(self):
250250
err = str(self.rust_result.stderr)
251251
if (
252252
not re.search(r"thread 'main' \(\d+\) panicked at", err)
253-
or self.rust_result.returncode != 101
253+
or self.rust_result.returncode not in [-6, 101]
254254
):
255255
return (exp.fail_code, "expected panic\n" + err)
256256
return self.success_result()

0 commit comments

Comments
 (0)