Don't use libtest harness for filetests (#4655)

We are using our own test harness for filetests and embedding it in
libtest isn't useful. It only hides test output until the end and
results in unnecessary noise.
This commit is contained in:
bjorn3
2022-08-10 22:48:15 +02:00
committed by GitHub
parent 918debfe59
commit 54f9587569
2 changed files with 8 additions and 4 deletions

View File

@@ -1,6 +1,5 @@
#[test]
fn filetests() {
fn main() -> anyhow::Result<()> {
// Run all the filetests in the following directories.
cranelift_filetests::run(false, false, &["filetests".into(), "docs".into()])
.expect("test harness");
cranelift_filetests::run(false, false, &["filetests".into(), "docs".into()])?;
Ok(())
}