This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ tempfile = "3"
5353rustc_private = true
5454
5555[[test ]]
56- name = " compiletest "
56+ name = " ui "
5757harness = false
5858
5959[features ]
Original file line number Diff line number Diff line change @@ -510,11 +510,11 @@ impl Command {
510510 let miri_flags = flagsplit ( & miri_flags) ;
511511 let toolchain = & e. toolchain ;
512512 let extra_flags = & e. cargo_extra_flags ;
513- let edition_flags = ( !have_edition) . then_some ( "--edition=2021" ) ; // keep in sync with `compiletest .rs`.`
513+ let edition_flags = ( !have_edition) . then_some ( "--edition=2021" ) ; // keep in sync with `tests/ui .rs`.`
514514 if dep {
515515 cmd ! (
516516 e. sh,
517- "cargo +{toolchain} --quiet test --test compiletest {extra_flags...} --manifest-path {miri_manifest} -- --miri-run-dep-mode {miri_flags...} {edition_flags...} {flags...}"
517+ "cargo +{toolchain} --quiet test {extra_flags...} --manifest-path {miri_manifest} --test ui -- --miri-run-dep-mode {miri_flags...} {edition_flags...} {flags...}"
518518 ) . quiet ( ) . run ( ) ?;
519519 } else {
520520 cmd ! (
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ fn main() -> Result<()> {
241241 ui_test:: color_eyre:: install ( ) ?;
242242
243243 let target = get_target ( ) ;
244- let tmpdir = tempfile:: Builder :: new ( ) . prefix ( "miri-compiletest -" ) . tempdir ( ) ?;
244+ let tmpdir = tempfile:: Builder :: new ( ) . prefix ( "miri-uitest -" ) . tempdir ( ) ?;
245245
246246 let mut args = std:: env:: args_os ( ) ;
247247
You can’t perform that action at this time.
0 commit comments