[libFuzzer] Do not use LLVM ostream in tests
authorGeorge Karpenkov <ekarpenkov@apple.com>
Wed, 12 Jul 2017 18:14:19 +0000 (18:14 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Wed, 12 Jul 2017 18:14:19 +0000 (18:14 +0000)
Differential Revision: https://reviews.llvm.org/D35312

llvm-svn: 307824

llvm/lib/Fuzzer/test/FuzzerUnittest.cpp

index 812894f..129519c 100644 (file)
@@ -5,6 +5,9 @@
 // with ASan) involving C++ standard library types when using libcxx.
 #define _LIBCPP_HAS_NO_ASAN
 
+// Do not attempt to use LLVM ostream from gtest.
+#define GTEST_NO_LLVM_RAW_OSTREAM 1
+
 #include "FuzzerCorpus.h"
 #include "FuzzerDictionary.h"
 #include "FuzzerInternal.h"