Skip to content

Commit

Permalink
tidy: remove version from allowed_run_make_makefiles
Browse files Browse the repository at this point in the history
convert version to ui test
  • Loading branch information
Oneirical committed Apr 3, 2024
1 parent 4ba56e2 commit 0e6b469
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
1 change: 0 additions & 1 deletion src/tools/tidy/src/allowed_run_make_makefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ run-make/use-suggestions-rust-2018/Makefile
run-make/used-cdylib-macos/Makefile
run-make/used/Makefile
run-make/valid-print-requests/Makefile
run-make/version/Makefile
run-make/volatile-intrinsics/Makefile
run-make/wasm-exceptions-nostd/Makefile
run-make/wasm-override-linker/Makefile
Expand Down
14 changes: 0 additions & 14 deletions tests/run-make/version/rmake.rs

This file was deleted.

11 changes: 11 additions & 0 deletions tests/ui/version-flags/version-info-flags.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//@ revisions: version verbose-version long-verbose-version
//@[version] check-pass
//@[version] compile-flags: -V
//@[verbose-version] check-pass
//@[verbose-version] compile-flags: -vV
//@[long-verbose-version] check-pass
//@[long-verbose-verison] compile-flags: --version --verbose

// Check that rustc accepts various version info flags.

fn main() {}

0 comments on commit 0e6b469

Please sign in to comment.