Skip to content

Commit

Permalink
[libFuzzer] Change Uninstrumented test name.
Browse files Browse the repository at this point in the history
On Windows, executables with the word "uninst" included in their names are
associated with administrator privileges.

Differential Revision: https://reviews.llvm.org/D29549

llvm-svn: 294387
  • Loading branch information
Marcos Pividori committed Feb 8, 2017
1 parent fd65788 commit e219d40
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion llvm/lib/Fuzzer/test/fuzzer.test
Expand Up @@ -34,7 +34,7 @@ COUNTERS: BINGO
DISABLED: 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
RUN: not LLVMFuzzer-NotinstrumentedTest-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
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Fuzzer/test/no-coverage/CMakeLists.txt
Expand Up @@ -5,7 +5,7 @@ set(CMAKE_CXX_FLAGS
"${LIBFUZZER_FLAGS_BASE} -fno-sanitize-coverage=edge,trace-cmp,indirect-calls,8bit-counters,trace-pc-guard")

set(NoCoverageTests
UninstrumentedTest
NotinstrumentedTest
)

foreach(Test ${NoCoverageTests})
Expand Down

0 comments on commit e219d40

Please sign in to comment.