File tree 5 files changed +6
-6
lines changed
test/run-make-fulldeps/cross-lang-lto
5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -838,7 +838,7 @@ test!(RunFailFullDepsPretty {
838
838
host: true
839
839
} ) ;
840
840
841
- host_test ! ( RunMake {
841
+ default_test ! ( RunMake {
842
842
path: "src/test/run-make" ,
843
843
mode: "run-make" ,
844
844
suite: "run-make"
@@ -1041,7 +1041,7 @@ impl Step for Compiletest {
1041
1041
1042
1042
// Only pass correct values for these flags for the `run-make` suite as it
1043
1043
// requires that a C++ compiler was configured which isn't always the case.
1044
- if !builder. config . dry_run && mode == "run-make" {
1044
+ if !builder. config . dry_run && suite == "run-make-fulldeps " {
1045
1045
let llvm_components = output ( Command :: new ( & llvm_config) . arg ( "--components" ) ) ;
1046
1046
let llvm_cxxflags = output ( Command :: new ( & llvm_config) . arg ( "--cxxflags" ) ) ;
1047
1047
cmd. arg ( "--cc" ) . arg ( builder. cc ( target) )
@@ -1054,13 +1054,13 @@ impl Step for Compiletest {
1054
1054
}
1055
1055
}
1056
1056
}
1057
- if mode == "run-make" && !builder. config . llvm_enabled {
1057
+ if suite == "run-make-fulldeps " && !builder. config . llvm_enabled {
1058
1058
builder. info (
1059
1059
& format ! ( "Ignoring run-make test suite as they generally don't work without LLVM" ) ) ;
1060
1060
return ;
1061
1061
}
1062
1062
1063
- if mode != "run-make" {
1063
+ if suite != "run-make-fulldeps " {
1064
1064
cmd. arg ( "--cc" ) . arg ( "" )
1065
1065
. arg ( "--cxx" ) . arg ( "" )
1066
1066
. arg ( "--cflags" ) . arg ( "" )
Original file line number Diff line number Diff line change 2
2
# min-llvm-version 4.0
3
3
# ignore-mingw
4
4
5
- -include ../../run-make-fulldeps/ tools.mk
5
+ -include ../tools.mk
6
6
7
7
# This test makes sure that the expected .llvmbc sections for use by
8
8
# linker-based LTO are available in object files when compiling with
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -614,8 +614,8 @@ pub fn is_test(file_name: &OsString) -> bool {
614
614
}
615
615
616
616
pub fn make_test ( config : & Config , testpaths : & TestPaths ) -> test:: TestDescAndFn {
617
-
618
617
let early_props = if config. mode == Mode :: RunMake {
618
+ // Allow `ignore` directives to be in the Makefile.
619
619
EarlyProps :: from_file ( config, & testpaths. file . join ( "Makefile" ) )
620
620
} else {
621
621
EarlyProps :: from_file ( config, & testpaths. file )
You can’t perform that action at this time.
0 commit comments