From 255eed0380bcf2bcdeb2d1dc11605512b03ebfe6 Mon Sep 17 00:00:00 2001 From: Marcos Pividori Date: Wed, 8 Feb 2017 00:03:13 +0000 Subject: [PATCH] [libFuzzer] Change Uninstrumented test name. 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/{UninstrumentedTest.cpp => NotinstrumentedTest.cpp} | 0 lib/Fuzzer/test/fuzzer.test | 2 +- lib/Fuzzer/test/no-coverage/CMakeLists.txt | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename lib/Fuzzer/test/{UninstrumentedTest.cpp => NotinstrumentedTest.cpp} (100%) diff --git a/lib/Fuzzer/test/UninstrumentedTest.cpp b/lib/Fuzzer/test/NotinstrumentedTest.cpp similarity index 100% rename from lib/Fuzzer/test/UninstrumentedTest.cpp rename to lib/Fuzzer/test/NotinstrumentedTest.cpp diff --git a/lib/Fuzzer/test/fuzzer.test b/lib/Fuzzer/test/fuzzer.test index 9a8de79b673..ff46d32b387 100644 --- a/lib/Fuzzer/test/fuzzer.test +++ b/lib/Fuzzer/test/fuzzer.test @@ -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 diff --git a/lib/Fuzzer/test/no-coverage/CMakeLists.txt b/lib/Fuzzer/test/no-coverage/CMakeLists.txt index 9cbe65c6719..6aa7db183e2 100644 --- a/lib/Fuzzer/test/no-coverage/CMakeLists.txt +++ b/lib/Fuzzer/test/no-coverage/CMakeLists.txt @@ -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}) -- 2.11.0