mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-17 01:13:11 +00:00
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
@ -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…
Reference in New Issue
Block a user