aboutsummaryrefslogtreecommitdiff
path: root/src/client/mac/tests/testlogging.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/mac/tests/testlogging.h')
-rw-r--r--src/client/mac/tests/testlogging.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/client/mac/tests/testlogging.h b/src/client/mac/tests/testlogging.h
new file mode 100644
index 00000000..c6b6be69
--- /dev/null
+++ b/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