aboutsummaryrefslogtreecommitdiff
path: root/externals/breakpad/src/client/mac/tests/testlogging.h
diff options
context:
space:
mode:
Diffstat (limited to 'externals/breakpad/src/client/mac/tests/testlogging.h')
-rw-r--r--externals/breakpad/src/client/mac/tests/testlogging.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/externals/breakpad/src/client/mac/tests/testlogging.h b/externals/breakpad/src/client/mac/tests/testlogging.h
new file mode 100644
index 0000000000..c6b6be699b
--- /dev/null
+++ b/externals/breakpad/src/client/mac/tests/testlogging.h
@@ -0,0 +1,9 @@
+// This file exists to override the processor logging for unit tests,
+// since it confuses XCode into thinking unit tests have failed.
+#include <sstream>
+
+namespace google_breakpad {
+extern std::ostringstream info_log;
+}
+
+#define BPLOG_INFO_STREAM google_breakpad::info_log