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:
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user