bitcoin/bitcoin — pull request #1687 by gavinandresen (2012-08-20 15:36:55+00:00)
Title: Suppress output when running unit tests.

This does two things:
1) Now does not output to debug.log if -printtodebugger flag is passed
2) Unit tests set -printtodebugger so only test results are output to stdout

Note that -printtodebugger only actually prints to the debugger on Windows.