@@ -1973,9 +1973,7 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the
1973
1973
add_link_lib_path ( vec ! [ llvm_libdir. trim( ) . into( ) ] , & mut cmd) ;
1974
1974
}
1975
1975
1976
- if !builder. config . dry_run ( )
1977
- && ( matches ! ( suite, "run-make" | "run-make-fulldeps" ) || mode == "coverage-run" )
1978
- {
1976
+ if !builder. config . dry_run ( ) && matches ! ( mode, "run-make" | "coverage-run" ) {
1979
1977
// The llvm/bin directory contains many useful cross-platform
1980
1978
// tools. Pass the path to run-make tests so they can use them.
1981
1979
// (The coverage-run tests also need these tools to process
@@ -1987,7 +1985,7 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the
1987
1985
cmd. arg ( "--llvm-bin-dir" ) . arg ( llvm_bin_path) ;
1988
1986
}
1989
1987
1990
- if !builder. config . dry_run ( ) && matches ! ( suite , "run-make" | "run-make-fulldeps" ) {
1988
+ if !builder. config . dry_run ( ) && mode == "run-make" {
1991
1989
// If LLD is available, add it to the PATH
1992
1990
if builder. config . lld_enabled {
1993
1991
let lld_install_root =
@@ -2007,7 +2005,7 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the
2007
2005
2008
2006
// Only pass correct values for these flags for the `run-make` suite as it
2009
2007
// requires that a C++ compiler was configured which isn't always the case.
2010
- if !builder. config . dry_run ( ) && matches ! ( suite , "run-make" | "run-make-fulldeps" ) {
2008
+ if !builder. config . dry_run ( ) && mode == "run-make" {
2011
2009
cmd. arg ( "--cc" )
2012
2010
. arg ( builder. cc ( target) )
2013
2011
. arg ( "--cxx" )
0 commit comments