Skip to content

Commit 64a28f0

Browse files
committed
Fix for tests/run-make/no-builtins-attribute
1 parent 3f09406 commit 64a28f0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build_system/src/test.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,14 +534,17 @@ fn setup_rustc(env: &mut Env, args: &TestArg) -> Result<PathBuf, String> {
534534
which FileCheck-11 || \
535535
which FileCheck-12 || \
536536
which FileCheck-13 || \
537-
which FileCheck-14",
537+
which FileCheck-14 || \
538+
which FileCheck",
538539
],
539540
rust_dir,
540541
Some(env),
541542
) {
542543
Ok(cmd) => String::from_utf8_lossy(&cmd.stdout).to_string(),
543544
Err(_) => {
544545
eprintln!("Failed to retrieve LLVM FileCheck, ignoring...");
546+
// FIXME: the test tests/run-make/no-builtins-attribute will fail if we cannot find
547+
// FileCheck.
545548
String::new()
546549
}
547550
};

0 commit comments

Comments
 (0)