[PATCH] D29549: [libFuzzer] Change Uninstrumented test name.

Marcos Pividori via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 4 14:36:48 PST 2017


mpividori created this revision.
Herald added a subscriber: mgorny.

On Windows, executables with the word "uninst" included their name are associated with administrator privileges. Probably they are associated with uninstallers.


https://reviews.llvm.org/D29549

Files:
  lib/Fuzzer/test/NoinstrumentedTest.cpp
  lib/Fuzzer/test/UninstrumentedTest.cpp
  lib/Fuzzer/test/fuzzer.test
  lib/Fuzzer/test/no-coverage/CMakeLists.txt


Index: lib/Fuzzer/test/no-coverage/CMakeLists.txt
===================================================================
--- lib/Fuzzer/test/no-coverage/CMakeLists.txt
+++ lib/Fuzzer/test/no-coverage/CMakeLists.txt
@@ -5,7 +5,7 @@
   "${LIBFUZZER_FLAGS_BASE} -fno-sanitize-coverage=edge,trace-cmp,indirect-calls,8bit-counters,trace-pc-guard")
 
 set(NoCoverageTests
-  UninstrumentedTest
+  NoinstrumentedTest
   )
 
 foreach(Test ${NoCoverageTests})
Index: lib/Fuzzer/test/fuzzer.test
===================================================================
--- lib/Fuzzer/test/fuzzer.test
+++ lib/Fuzzer/test/fuzzer.test
@@ -34,7 +34,7 @@
 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-NoinstrumentedTest-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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29549.87113.patch
Type: text/x-patch
Size: 1207 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170204/2f2816b9/attachment.bin>


More information about the llvm-commits mailing list