Use "test regalloc" for the register allocator tests.

These tests were only using "test compile" because it doesn't require
any filecheck directives to be present, so just stop requiring filecheck
directives for "test regalloc" and other filecheck-based test drivers.
This commit is contained in:
Jakob Stoklund Olesen
2017-10-25 18:31:14 -07:00
parent d37126565e
commit 91b1566aca
8 changed files with 9 additions and 12 deletions

View File

@@ -113,10 +113,5 @@ pub fn build_filechecker(context: &Context) -> Result<Checker> {
format!("filecheck: {}", e)
})?;
}
let checker = builder.finish();
if checker.is_empty() {
Err("no filecheck directives in function".to_string())
} else {
Ok(checker)
}
Ok(builder.finish())
}