Skip to content

Commit 2add9d8

Browse files
committed
Moving all rustdoc-ui tests to check-pass
These were all build-pass before and don't seem to need it. Helps with #62277
1 parent 52fa23a commit 2add9d8

19 files changed

+19
-19
lines changed

src/test/rustdoc-ui/cfg-test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22
// compile-flags:--test --test-args --test-threads=1
33
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
44

src/test/rustdoc-ui/coverage/basic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags:-Z unstable-options --show-coverage
2-
// build-pass (FIXME(62277): could be check-pass?)
2+
// check-pass
33

44
#![feature(extern_types)]
55

src/test/rustdoc-ui/coverage/empty.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// compile-flags:-Z unstable-options --show-coverage
2-
// build-pass (FIXME(62277): could be check-pass?)
2+
// check-pass
33

44
// an empty crate still has one item to document: the crate root

src/test/rustdoc-ui/coverage/enums.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags:-Z unstable-options --show-coverage
2-
// build-pass (FIXME(62277): could be check-pass?)
2+
// check-pass
33

44
//! (remember the crate root is still a module)
55

src/test/rustdoc-ui/coverage/exotic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags:-Z unstable-options --show-coverage
2-
// build-pass (FIXME(62277): could be check-pass?)
2+
// check-pass
33

44
#![feature(doc_keyword)]
55

src/test/rustdoc-ui/coverage/json.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass
1+
// check-pass
22
// compile-flags:-Z unstable-options --output-format json --show-coverage
33

44
pub mod foo {

src/test/rustdoc-ui/coverage/private.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags:-Z unstable-options --show-coverage --document-private-items
2-
// build-pass (FIXME(62277): could be check-pass?)
2+
// check-pass
33

44
#![allow(unused)]
55

src/test/rustdoc-ui/coverage/statics-consts.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags:-Z unstable-options --show-coverage
2-
// build-pass (FIXME(62277): could be check-pass?)
2+
// check-pass
33

44
//! gotta make sure we can count statics and consts correctly, too
55

src/test/rustdoc-ui/coverage/traits.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags:-Z unstable-options --show-coverage
2-
// build-pass (FIXME(62277): could be check-pass?)
2+
// check-pass
33

44
#![feature(trait_alias)]
55

src/test/rustdoc-ui/deprecated-attrs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
#![doc(no_default_passes, passes = "collapse-docs unindent-comments")]
44

src/test/rustdoc-ui/doc-test-doctest-feature.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass
1+
// check-pass
22
// compile-flags:--test
33
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
44

src/test/rustdoc-ui/doc-test-rustdoc-feature.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass
1+
// check-pass
22
// compile-flags:--test
33
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
44

src/test/rustdoc-ui/intra-links-warning-crlf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ignore-tidy-cr
2-
// build-pass
2+
// check-pass
33

44
// This file checks the spans of intra-link warnings in a file with CRLF line endings. The
55
// .gitattributes file in this directory should enforce it.

src/test/rustdoc-ui/intra-links-warning.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass
1+
// check-pass
22

33
//! Test with [Foo::baz], [Bar::foo], ...
44
//~^ WARNING `[Foo::baz]` cannot be resolved

src/test/rustdoc-ui/invalid-syntax.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass
1+
// check-pass
22

33
/// ```
44
/// \__________pkt->size___________/ \_result->size_/ \__pkt->size__/

src/test/rustdoc-ui/issue-58473-2.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
#![deny(private_doc_tests)]
44

src/test/rustdoc-ui/issue-58473.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
pub trait Foo {
44
/**

src/test/rustdoc-ui/test-no_std.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// compile-flags:--test
22
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
3-
// build-pass
3+
// check-pass
44

55
#![no_std]
66

src/test/rustdoc-ui/unused.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
// This test purpose is to check that unused_imports lint isn't fired
44
// by rustdoc. Why would it? Because when rustdoc is running, it uses

0 commit comments

Comments
 (0)