From e219d401912ffa8b62dd27fd3f9094cf334de840 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 llvm-svn: 294387 --- .../test/{UninstrumentedTest.cpp => NotinstrumentedTest.cpp} | 0 llvm/lib/Fuzzer/test/fuzzer.test | 2 +- llvm/lib/Fuzzer/test/no-coverage/CMakeLists.txt | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename llvm/lib/Fuzzer/test/{UninstrumentedTest.cpp => NotinstrumentedTest.cpp} (100%) diff --git a/llvm/lib/Fuzzer/test/UninstrumentedTest.cpp b/llvm/lib/Fuzzer/test/NotinstrumentedTest.cpp similarity index 100% rename from llvm/lib/Fuzzer/test/UninstrumentedTest.cpp rename to llvm/lib/Fuzzer/test/NotinstrumentedTest.cpp diff --git a/llvm/lib/Fuzzer/test/fuzzer.test b/llvm/lib/Fuzzer/test/fuzzer.test index 9a8de79b6730a..ff46d32b387d7 100644 --- a/llvm/lib/Fuzzer/test/fuzzer.test +++ b/llvm/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/llvm/lib/Fuzzer/test/no-coverage/CMakeLists.txt b/llvm/lib/Fuzzer/test/no-coverage/CMakeLists.txt index 9cbe65c6719d9..6aa7db183e229 100644 --- a/llvm/lib/Fuzzer/test/no-coverage/CMakeLists.txt +++ b/llvm/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})