Skip to content

Commit 0606801

Browse files
committed
Update tests/ui/README.md
1 parent b273782 commit 0606801

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

tests/ui/README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,10 @@ Some traits' implementation must be compared with their definition, checking for
256256

257257
This subdirectory is *not* intended comparison traits (`PartialEq`, `Eq`, `PartialOrd`, `Ord`).
258258

259+
## `tests/ui/compile-flags/`
260+
261+
Tests for compile flags.
262+
259263
## `tests/ui/compiletest-self-test/`: compiletest "meta" tests
260264

261265
Meta test suite of the test harness `compiletest` itself.
@@ -548,6 +552,8 @@ A broad directory for tests on expressions.
548552

549553
Tests on the `extern` keyword and `extern` blocks and functions.
550554

555+
**FIXME**: Merge with `tests/ui/abi/extern`.
556+
551557
## `tests/ui/extern-flag/`: `--extern` command line flag
552558

553559
Tests for the `--extern` CLI flag.
@@ -556,6 +562,12 @@ Tests for the `--extern` CLI flag.
556562

557563
Tests on feature-gating, and the `#![feature(..)]` mechanism itself.
558564

565+
## `tests/ui/ffi/`: Foreign Function Interface
566+
567+
Tests for the `std::ffi` module.
568+
569+
See [`std::ffi`](https://doc.rust-lang.org/std/ffi/index.html)
570+
559571
## `tests/ui/ffi-attrs/`: `#![feature(ffi_const, ffi_pure)]`
560572

561573
The `#[ffi_const]` and `#[ffi_pure]` attributes applies clang's `const` and `pure` attributes to foreign functions declarations, respectively. These attributes are the core element of the tests in this category.
@@ -733,15 +745,9 @@ Various tests related to rejecting invalid inputs.
733745

734746
**FIXME**: This is rather uninformative, possibly rehome into more meaningful directories.
735747

736-
## `tests/ui/invalid-compile-flags/`
737-
738-
Tests for checking that invalid usage of compiler flags are rejected.
739-
740-
## `tests/ui/io-checks/`
741-
742-
Contains a single test. The test tries to output a file into an invalid directory with `-o`, then checks that the result is an error, not an internal compiler error.
748+
## `tests/ui/io-checks/`: Input Output
743749

744-
**FIXME**: Rehome to invalid compiler flags maybe.
750+
Tests for I/O related behaviour, covering stdout/stderr handling and error propagation.
745751

746752
## `tests/ui/issues/`: Tests directly related to GitHub issues
747753

0 commit comments

Comments
 (0)