Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a9c0ffa

Browse files
committedApr 6, 2024
Rewrite version test as UI test
fix: re-add stout ignore restore does-nothing fix: universal check-pass
1 parent 83d0a94 commit a9c0ffa

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed
 

‎src/tools/tidy/src/allowed_run_make_makefiles.txt

-1
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

‎src/tools/tidy/src/ui_tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const ENTRY_LIMIT: usize = 900;
1818
// FIXME: The following limits should be reduced eventually.
1919

2020
const ISSUES_ENTRY_LIMIT: usize = 1733;
21-
const ROOT_ENTRY_LIMIT: usize = 860;
21+
const ROOT_ENTRY_LIMIT: usize = 861;
2222

2323
const EXPECTED_TEST_FILE_EXTENSIONS: &[&str] = &[
2424
"rs", // test source files

‎tests/run-make/version/Makefile

-6
This file was deleted.
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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+
//@[version] compile-flags: -V
6+
//@[verbose-version] compile-flags: -vV
7+
//@[long-verbose-verison] compile-flags: --version --verbose
8+
9+
fn main() {}

0 commit comments

Comments
 (0)
Failed to load comments.