OSDN Git Service

[libFuzzer] Change Uninstrumented test name.
authorMarcos Pividori <mpividori@google.com>
Wed, 8 Feb 2017 00:03:13 +0000 (00:03 +0000)
committerMarcos Pividori <mpividori@google.com>
Wed, 8 Feb 2017 00:03:13 +0000 (00:03 +0000)
On Windows, executables with the word "uninst" included in their names are
associated with administrator privileges.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294387 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Fuzzer/test/NotinstrumentedTest.cpp [moved from lib/Fuzzer/test/UninstrumentedTest.cpp with 100% similarity]
lib/Fuzzer/test/fuzzer.test
lib/Fuzzer/test/no-coverage/CMakeLists.txt

index 9a8de79..ff46d32 100644 (file)
@@ -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
index 9cbe65c..6aa7db1 100644 (file)
@@ -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})