skip FileCheck check when running in dry-run mode
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
17aab60d6f
commit
37ce36f130
1 changed files with 11 additions and 11 deletions
|
|
@ -294,19 +294,19 @@ than building it.
|
|||
}
|
||||
}
|
||||
|
||||
for host in &build.hosts {
|
||||
if !build.config.dry_run() {
|
||||
if !build.config.dry_run() {
|
||||
for host in &build.hosts {
|
||||
cmd_finder.must_have(build.cxx(*host).unwrap());
|
||||
}
|
||||
|
||||
if build.config.llvm_enabled(*host) {
|
||||
// Externally configured LLVM requires FileCheck to exist
|
||||
let filecheck = build.llvm_filecheck(build.build);
|
||||
if !filecheck.starts_with(&build.out)
|
||||
&& !filecheck.exists()
|
||||
&& build.config.codegen_tests
|
||||
{
|
||||
panic!("FileCheck executable {filecheck:?} does not exist");
|
||||
if build.config.llvm_enabled(*host) {
|
||||
// Externally configured LLVM requires FileCheck to exist
|
||||
let filecheck = build.llvm_filecheck(build.build);
|
||||
if !filecheck.starts_with(&build.out)
|
||||
&& !filecheck.exists()
|
||||
&& build.config.codegen_tests
|
||||
{
|
||||
panic!("FileCheck executable {filecheck:?} does not exist");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue