Skip to content

Commit

Permalink
Document needs-* compiletest directives
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiasko authored and mark-i-m committed Jun 8, 2020
1 parent a960baa commit 42520d3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/tests/adding.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,13 @@ source.
errors when usage of a gated feature is attempted without the proper
`#![feature(X)]` tag. Each unstable lang feature is required to
have a gate test.
* `needs-profiler-support` - a profiler runtime is required, i.e.,
`profiler = true` in rustc's `config.toml`.
* `needs-sanitizer-support` - a sanitizer runtime is required, i.e.,
`sanitizers = true` in rustc's `config.toml`.
* `needs-sanitizer-{address,leak,memory,thread}` - indicates that test
requires a target with a support for AddressSanitizer, LeakSanitizer,
MemorySanitizer or ThreadSanitizer respectively.

[`header.rs`]: https://github.com/rust-lang/rust/tree/master/src/tools/compiletest/src/header.rs
[bless]: ./running.md#editing-and-updating-the-reference-files
Expand Down

0 comments on commit 42520d3

Please sign in to comment.