File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
test/run-make-fulldeps/cross-lang-lto Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -838,7 +838,7 @@ test!(RunFailFullDepsPretty {
838838 host: true
839839} ) ;
840840
841- host_test ! ( RunMake {
841+ default_test ! ( RunMake {
842842 path: "src/test/run-make" ,
843843 mode: "run-make" ,
844844 suite: "run-make"
@@ -1041,7 +1041,7 @@ impl Step for Compiletest {
10411041
10421042 // Only pass correct values for these flags for the `run-make` suite as it
10431043 // 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 " {
10451045 let llvm_components = output ( Command :: new ( & llvm_config) . arg ( "--components" ) ) ;
10461046 let llvm_cxxflags = output ( Command :: new ( & llvm_config) . arg ( "--cxxflags" ) ) ;
10471047 cmd. arg ( "--cc" ) . arg ( builder. cc ( target) )
@@ -1054,13 +1054,13 @@ impl Step for Compiletest {
10541054 }
10551055 }
10561056 }
1057- if mode == "run-make" && !builder. config . llvm_enabled {
1057+ if suite == "run-make-fulldeps " && !builder. config . llvm_enabled {
10581058 builder. info (
10591059 & format ! ( "Ignoring run-make test suite as they generally don't work without LLVM" ) ) ;
10601060 return ;
10611061 }
10621062
1063- if mode != "run-make" {
1063+ if suite != "run-make-fulldeps " {
10641064 cmd. arg ( "--cc" ) . arg ( "" )
10651065 . arg ( "--cxx" ) . arg ( "" )
10661066 . arg ( "--cflags" ) . arg ( "" )
Original file line number Diff line number Diff line change 22# min-llvm-version 4.0
33# ignore-mingw
44
5- -include ../../run-make-fulldeps/ tools.mk
5+ -include ../tools.mk
66
77# This test makes sure that the expected .llvmbc sections for use by
88# 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 {
614614}
615615
616616pub fn make_test ( config : & Config , testpaths : & TestPaths ) -> test:: TestDescAndFn {
617-
618617 let early_props = if config. mode == Mode :: RunMake {
618+ // Allow `ignore` directives to be in the Makefile.
619619 EarlyProps :: from_file ( config, & testpaths. file . join ( "Makefile" ) )
620620 } else {
621621 EarlyProps :: from_file ( config, & testpaths. file )
You can’t perform that action at this time.
0 commit comments