@@ -307,7 +307,7 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules {
307
307
. dep ( |s| s. name ( "libtest" ) )
308
308
. dep ( |s| s. name ( "tool-compiletest" ) . target ( s. host ) . stage ( 0 ) )
309
309
. dep ( |s| s. name ( "test-helpers" ) )
310
- . dep ( |s| s. name ( "emulator -copy-libs" ) )
310
+ . dep ( |s| s. name ( "remote -copy-libs" ) )
311
311
. default ( mode != "pretty" ) // pretty tests don't run everywhere
312
312
. run ( move |s| {
313
313
check:: compiletest ( build, & s. compiler ( ) , s. target , mode, dir)
@@ -346,7 +346,7 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules {
346
346
. dep ( |s| s. name ( "tool-compiletest" ) . target ( s. host ) . stage ( 0 ) )
347
347
. dep ( |s| s. name ( "test-helpers" ) )
348
348
. dep ( |s| s. name ( "debugger-scripts" ) )
349
- . dep ( |s| s. name ( "emulator -copy-libs" ) )
349
+ . dep ( |s| s. name ( "remote -copy-libs" ) )
350
350
. run ( move |s| check:: compiletest ( build, & s. compiler ( ) , s. target ,
351
351
"debuginfo-gdb" , "debuginfo" ) ) ;
352
352
let mut rule = rules. test ( "check-debuginfo" , "src/test/debuginfo" ) ;
@@ -400,14 +400,14 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules {
400
400
for ( krate, path, _default) in krates ( "std" ) {
401
401
rules. test ( & krate. test_step , path)
402
402
. dep ( |s| s. name ( "libtest" ) )
403
- . dep ( |s| s. name ( "emulator -copy-libs" ) )
403
+ . dep ( |s| s. name ( "remote -copy-libs" ) )
404
404
. run ( move |s| check:: krate ( build, & s. compiler ( ) , s. target ,
405
405
Mode :: Libstd , TestKind :: Test ,
406
406
Some ( & krate. name ) ) ) ;
407
407
}
408
408
rules. test ( "check-std-all" , "path/to/nowhere" )
409
409
. dep ( |s| s. name ( "libtest" ) )
410
- . dep ( |s| s. name ( "emulator -copy-libs" ) )
410
+ . dep ( |s| s. name ( "remote -copy-libs" ) )
411
411
. default ( true )
412
412
. run ( move |s| check:: krate ( build, & s. compiler ( ) , s. target ,
413
413
Mode :: Libstd , TestKind :: Test , None ) ) ;
@@ -416,44 +416,44 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules {
416
416
for ( krate, path, _default) in krates ( "std" ) {
417
417
rules. bench ( & krate. bench_step , path)
418
418
. dep ( |s| s. name ( "libtest" ) )
419
- . dep ( |s| s. name ( "emulator -copy-libs" ) )
419
+ . dep ( |s| s. name ( "remote -copy-libs" ) )
420
420
. run ( move |s| check:: krate ( build, & s. compiler ( ) , s. target ,
421
421
Mode :: Libstd , TestKind :: Bench ,
422
422
Some ( & krate. name ) ) ) ;
423
423
}
424
424
rules. bench ( "bench-std-all" , "path/to/nowhere" )
425
425
. dep ( |s| s. name ( "libtest" ) )
426
- . dep ( |s| s. name ( "emulator -copy-libs" ) )
426
+ . dep ( |s| s. name ( "remote -copy-libs" ) )
427
427
. default ( true )
428
428
. run ( move |s| check:: krate ( build, & s. compiler ( ) , s. target ,
429
429
Mode :: Libstd , TestKind :: Bench , None ) ) ;
430
430
431
431
for ( krate, path, _default) in krates ( "test" ) {
432
432
rules. test ( & krate. test_step , path)
433
433
. dep ( |s| s. name ( "libtest" ) )
434
- . dep ( |s| s. name ( "emulator -copy-libs" ) )
434
+ . dep ( |s| s. name ( "remote -copy-libs" ) )
435
435
. run ( move |s| check:: krate ( build, & s. compiler ( ) , s. target ,
436
436
Mode :: Libtest , TestKind :: Test ,
437
437
Some ( & krate. name ) ) ) ;
438
438
}
439
439
rules. test ( "check-test-all" , "path/to/nowhere" )
440
440
. dep ( |s| s. name ( "libtest" ) )
441
- . dep ( |s| s. name ( "emulator -copy-libs" ) )
441
+ . dep ( |s| s. name ( "remote -copy-libs" ) )
442
442
. default ( true )
443
443
. run ( move |s| check:: krate ( build, & s. compiler ( ) , s. target ,
444
444
Mode :: Libtest , TestKind :: Test , None ) ) ;
445
445
for ( krate, path, _default) in krates ( "rustc-main" ) {
446
446
rules. test ( & krate. test_step , path)
447
447
. dep ( |s| s. name ( "librustc" ) )
448
- . dep ( |s| s. name ( "emulator -copy-libs" ) )
448
+ . dep ( |s| s. name ( "remote -copy-libs" ) )
449
449
. host ( true )
450
450
. run ( move |s| check:: krate ( build, & s. compiler ( ) , s. target ,
451
451
Mode :: Librustc , TestKind :: Test ,
452
452
Some ( & krate. name ) ) ) ;
453
453
}
454
454
rules. test ( "check-rustc-all" , "path/to/nowhere" )
455
455
. dep ( |s| s. name ( "librustc" ) )
456
- . dep ( |s| s. name ( "emulator -copy-libs" ) )
456
+ . dep ( |s| s. name ( "remote -copy-libs" ) )
457
457
. default ( true )
458
458
. host ( true )
459
459
. run ( move |s| check:: krate ( build, & s. compiler ( ) , s. target ,
@@ -500,17 +500,17 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules {
500
500
rules. build ( "openssl" , "path/to/nowhere" )
501
501
. run ( move |s| native:: openssl ( build, s. target ) ) ;
502
502
503
- // Some test suites are run inside emulators, and most of our test binaries
504
- // are linked dynamically which means we need to ship the standard library
505
- // and such to the emulator ahead of time. This step represents this and is
506
- // a dependency of all test suites.
503
+ // Some test suites are run inside emulators or on remote devices, and most
504
+ // of our test binaries are linked dynamically which means we need to ship
505
+ // the standard library and such to the emulator ahead of time. This step
506
+ // represents this and is a dependency of all test suites.
507
507
//
508
508
// Most of the time this step is a noop (the `check::emulator_copy_libs`
509
509
// only does work if necessary). For some steps such as shipping data to
510
510
// QEMU we have to build our own tools so we've got conditional dependencies
511
- // on those programs as well. Note that the QEMU client is built for the
512
- // build target (us) and the server is built for the target.
513
- rules. test ( "emulator -copy-libs" , "path/to/nowhere" )
511
+ // on those programs as well. Note that the remote test client is built for
512
+ // the build target (us) and the server is built for the target.
513
+ rules. test ( "remote -copy-libs" , "path/to/nowhere" )
514
514
. dep ( |s| s. name ( "libtest" ) )
515
515
. dep ( move |s| {
516
516
if build. remote_tested ( s. target ) {
@@ -526,7 +526,7 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules {
526
526
Step :: noop ( )
527
527
}
528
528
} )
529
- . run ( move |s| check:: emulator_copy_libs ( build, & s. compiler ( ) , s. target ) ) ;
529
+ . run ( move |s| check:: remote_copy_libs ( build, & s. compiler ( ) , s. target ) ) ;
530
530
531
531
rules. test ( "check-bootstrap" , "src/bootstrap" )
532
532
. default ( true )
0 commit comments