diff options
| author | Kostya Serebryany <kcc@google.com> | 2016-06-08 01:46:13 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2016-06-08 01:46:13 +0000 |
| commit | 76f425211e83cd387e93390f53c8a9b56cfeb231 (patch) | |
| tree | c7240e260993a7cefb7b3a4195f7a2a8437ebccc /llvm/lib/Fuzzer/test/fuzzer.test | |
| parent | 33b8b64aef936b142ebdc536db0cb3210ae93787 (diff) | |
| download | bcm5719-llvm-76f425211e83cd387e93390f53c8a9b56cfeb231.tar.gz bcm5719-llvm-76f425211e83cd387e93390f53c8a9b56cfeb231.zip | |
[libFuzzer] add a test that is built w/o coverage instrumentation but has the coverage rt (it should now fail with a descriptive message)
llvm-svn: 272090
Diffstat (limited to 'llvm/lib/Fuzzer/test/fuzzer.test')
| -rw-r--r-- | llvm/lib/Fuzzer/test/fuzzer.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/test/fuzzer.test b/llvm/lib/Fuzzer/test/fuzzer.test index 25ca5ff5bd2..11343ae3834 100644 --- a/llvm/lib/Fuzzer/test/fuzzer.test +++ b/llvm/lib/Fuzzer/test/fuzzer.test @@ -32,6 +32,9 @@ RUN: not LLVMFuzzer-CallerCalleeTest -cross_over=0 -max_len= RUN: not LLVMFuzzer-UninstrumentedTest-Uninstrumented 2>&1 | FileCheck %s --check-prefix=UNINSTRUMENTED UNINSTRUMENTED: ERROR: __sanitizer_set_death_callback is not defined. Exiting. +RUN: not LLVMFuzzer-UninstrumentedTest-NoCoverage 2>&1 | FileCheck %s --check-prefix=NO_COVERAGE +NO_COVERAGE: ERROR: no interesting inputs were found. Is the code instrumented for coverage? Exiting + RUN: not LLVMFuzzer-BufferOverflowOnInput 2>&1 | FileCheck %s --check-prefix=OOB OOB: AddressSanitizer: heap-buffer-overflow OOB: is located 0 bytes to the right of 3-byte region |

