Skip to content

Commit 3a17cb8

Browse files
Rollup merge of #123297 - Oneirical:version, r=Mark-Simulacrum
Rewrite `version` test run-make as an UI test Claiming the simple `version` test from #121876.
2 parents fc85674 + 158c301 commit 3a17cb8

File tree

5 files changed

+10
-18
lines changed

5 files changed

+10
-18
lines changed

src/tools/tidy/src/allowed_run_make_makefiles.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,6 @@ run-make/use-suggestions-rust-2018/Makefile
321321
run-make/used-cdylib-macos/Makefile
322322
run-make/used/Makefile
323323
run-make/valid-print-requests/Makefile
324-
run-make/version/Makefile
325324
run-make/volatile-intrinsics/Makefile
326325
run-make/wasm-exceptions-nostd/Makefile
327326
run-make/wasm-override-linker/Makefile

tests/run-make/version/Makefile

Lines changed: 0 additions & 6 deletions
This file was deleted.

tests/ui/does-nothing.rs

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/ui/does-nothing.stderr

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Check that rustc accepts various version info flags.
2+
//@ dont-check-compiler-stdout
3+
//@ revisions: version verbose-version long-verbose-version
4+
//@ check-pass
5+
6+
//@[version] compile-flags: -V
7+
//@[verbose-version] compile-flags: -vV
8+
//@[long-verbose-version] compile-flags: --version --verbose
9+
10+
fn main() {}

0 commit comments

Comments
 (0)