diff options
| author | Ralf Jung <post@ralfj.de> | 2020-06-19 14:29:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-19 14:29:22 +0200 |
| commit | 0851036ae30efa58b47258ad3b718d6ef66dc706 (patch) | |
| tree | 04f732fcf61a4ba689142e9329a0af1a0d99d2d0 /src/test/ui/sanitize/thread.rs | |
| parent | 1dc6c3c4ad2d08cc8d8d414cd04cbf0350e2bb14 (diff) | |
| parent | d40e624a3625c7c2d68c949435fd883cd43dd065 (diff) | |
| download | rust-0851036ae30efa58b47258ad3b718d6ef66dc706.tar.gz rust-0851036ae30efa58b47258ad3b718d6ef66dc706.zip | |
Rollup merge of #73044 - tmiasko:compiletest-san, r=nikomatsakis
compiletest: Add directives to detect sanitizer support
Add needs-sanitizer-{address,leak,memory,thread} directive indicating
that test requires target with support for specific sanitizer.
This is an addition to the existing needs-sanitizer-support directive
indicating that test requires a sanitizer runtime library.
The existing needs-sanitizer-support directive could be incorporated into the
new ones, but I decided to retain it, since it enables running sanitizer
codegen tests even when building of sanitizer runtime libraries is disabled.
Diffstat (limited to 'src/test/ui/sanitize/thread.rs')
| -rw-r--r-- | src/test/ui/sanitize/thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/sanitize/thread.rs b/src/test/ui/sanitize/thread.rs index 26590be8b18..c70cf5accc0 100644 --- a/src/test/ui/sanitize/thread.rs +++ b/src/test/ui/sanitize/thread.rs @@ -11,7 +11,7 @@ // would occasionally fail, making test flaky. // // needs-sanitizer-support -// only-x86_64 +// needs-sanitizer-thread // // compile-flags: -Z sanitizer=thread -O // |
