Rename `needs-profiler-support` to `needs-profiler-runtime` (#2095)
This commit is contained in:
parent
f2eb9245ca
commit
0e2bebfe2d
|
|
@ -317,7 +317,7 @@ These tests compile and run a test program with coverage
|
|||
instrumentation, then use LLVM tools to convert the coverage data into a
|
||||
human-readable coverage report.
|
||||
|
||||
> Tests in `coverage-run` mode have an implicit `// needs-profiler-support`
|
||||
> Tests in `coverage-run` mode have an implicit `//@ needs-profiler-runtime`
|
||||
> directive, so they will be skipped if the profiler runtime has not been
|
||||
> [enabled in `config.toml`](#recommended-configtoml-settings).
|
||||
|
||||
|
|
|
|||
|
|
@ -676,7 +676,7 @@ also registered as an additional prefix for FileCheck directives:
|
|||
```rust,ignore
|
||||
//@ revisions: NORMAL COVERAGE
|
||||
//@[COVERAGE] compile-flags: -Cinstrument-coverage
|
||||
//@[COVERAGE] needs-profiler-support
|
||||
//@[COVERAGE] needs-profiler-runtime
|
||||
|
||||
// COVERAGE: @__llvm_coverage_mapping
|
||||
// NORMAL-NOT: @__llvm_coverage_mapping
|
||||
|
|
|
|||
|
|
@ -153,8 +153,9 @@ settings:
|
|||
|
||||
- `needs-asm-support` — ignores if it is running on a target that doesn't have
|
||||
stable support for `asm!`
|
||||
- `needs-profiler-support` — ignores if profiler support was not enabled for the
|
||||
target (`profiler = true` in rustc's `config.toml`)
|
||||
- `needs-profiler-runtime` — ignores the test if the profiler runtime was not
|
||||
enabled for the target
|
||||
(`build.profiler = true` in rustc's `config.toml`)
|
||||
- `needs-sanitizer-support` — ignores if the sanitizer support was not enabled
|
||||
for the target (`sanitizers = true` in rustc's `config.toml`)
|
||||
- `needs-sanitizer-{address,hwaddress,leak,memory,thread}` — ignores if the
|
||||
|
|
|
|||
Loading…
Reference in New Issue