rafael added a comment. /dev/tty would be appropriate, no? When using this a test will print to the console even running check-llvm, no? That is quite unfortunate. Maybe the test should go to the test-suite instead of check-llvm? http://reviews.llvm.org/D16000