1
Fork 0

[AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives

This commit is contained in:
许杰友 Jieyou Xu (Joe) 2024-02-22 12:10:29 +00:00
parent cbf10affb0
commit 6e48b96692
No known key found for this signature in database
GPG key ID: 95DDEBD74A1DC2C0
1817 changed files with 4769 additions and 4769 deletions

View file

@ -1,15 +1,15 @@
// only-windows
//@ only-windows
// There's a parallel generic version of this test for non-windows platforms.
// Issue #51162: A failed doctest was not printing its stdout/stderr
// FIXME: if/when the output of the test harness can be tested on its own, this test should be
// adapted to use that, and that normalize line can go away
// compile-flags:--test --test-args --test-threads=1
// rustc-env:RUST_BACKTRACE=0
// normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
// failure-status: 101
//@ compile-flags:--test --test-args --test-threads=1
//@ rustc-env:RUST_BACKTRACE=0
//@ normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
//@ normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
//@ failure-status: 101
// doctest fails at runtime
/// ```