Skip to content

Commit 521a538

Browse files
compiletest: Make the LLVM FileCheck tool available to run-make tests.
1 parent 112f7e9 commit 521a538

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tools/compiletest/src/runtest.rs

+4
Original file line numberDiff line numberDiff line change
@@ -2689,6 +2689,10 @@ impl<'test> TestCx<'test> {
26892689
cmd.env("CLANG", clang);
26902690
}
26912691

2692+
if let Some(ref filecheck) = self.config.llvm_filecheck {
2693+
cmd.env("LLVM_FILECHECK", filecheck);
2694+
}
2695+
26922696
// We don't want RUSTFLAGS set from the outside to interfere with
26932697
// compiler flags set in the test cases:
26942698
cmd.env_remove("RUSTFLAGS");

0 commit comments

Comments
 (0)