@@ -46,7 +46,7 @@ fn build_so_for_c_ffi_tests() -> PathBuf {
46
46
so_file_path
47
47
}
48
48
49
- fn run_test_config (
49
+ fn test_config (
50
50
args : impl Iterator < Item = String > ,
51
51
target : & str ,
52
52
path : & str ,
@@ -151,7 +151,7 @@ fn run_test_config(
151
151
}
152
152
153
153
fn run_tests ( mode : Mode , path : & str , target : & str , with_dependencies : bool ) -> Result < ( ) > {
154
- let config = run_test_config ( std:: env:: args ( ) . skip ( 1 ) , target, path, mode, with_dependencies) ;
154
+ let config = test_config ( std:: env:: args ( ) . skip ( 1 ) , target, path, mode, with_dependencies) ;
155
155
156
156
eprintln ! ( " Compiler: {}" , config. program. display( ) ) ;
157
157
ui_test:: run_tests_generic (
@@ -272,7 +272,7 @@ fn main() -> Result<()> {
272
272
fn run_dep_mode ( target : String ) -> Result < ( ) > {
273
273
let files = std:: env:: args ( ) . skip ( 2 ) ;
274
274
for path in files {
275
- let mut config = run_test_config ( std:: iter:: empty ( ) , & target, & path, Mode :: Yolo , true ) ;
275
+ let mut config = test_config ( std:: iter:: empty ( ) , & target, & path, Mode :: Yolo , true ) ;
276
276
config. program . args . remove ( 0 ) ; // remove the `--error-format=json` argument
277
277
config. program . args . push ( "--color" . into ( ) ) ;
278
278
config. program . args . push ( "always" . into ( ) ) ;
0 commit comments