File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ use super::build_sysroot;
22use super :: config;
33use super :: path:: { Dirs , RelPath } ;
44use super :: prepare:: GitRepo ;
5- use super :: rustc_info:: get_host_triple;
65use super :: utils:: { spawn_and_wait, spawn_and_wait_with_input, CargoProject , Compiler } ;
76use super :: SysrootKind ;
87use std:: env;
@@ -230,8 +229,11 @@ pub(crate) fn run_tests(
230229 target_triple. clone ( ) ,
231230 ) ;
232231
233- let runner =
234- TestRunner :: new ( dirs. clone ( ) , target_compiler, get_host_triple ( ) == target_triple) ;
232+ let runner = TestRunner :: new (
233+ dirs. clone ( ) ,
234+ target_compiler,
235+ bootstrap_host_compiler. triple == target_triple,
236+ ) ;
235237
236238 BUILD_EXAMPLE_OUT_DIR . ensure_fresh ( dirs) ;
237239 runner. run_testsuite ( NO_SYSROOT_SUITE ) ;
@@ -252,8 +254,11 @@ pub(crate) fn run_tests(
252254 target_triple. clone ( ) ,
253255 ) ;
254256
255- let runner =
256- TestRunner :: new ( dirs. clone ( ) , target_compiler, get_host_triple ( ) == target_triple) ;
257+ let runner = TestRunner :: new (
258+ dirs. clone ( ) ,
259+ target_compiler,
260+ bootstrap_host_compiler. triple == target_triple,
261+ ) ;
257262
258263 if run_base_sysroot {
259264 runner. run_testsuite ( BASE_SYSROOT_SUITE ) ;
You can’t perform that action at this time.
0 commit comments