don't redirect stderr by default, to get sanitizer output

This commit is contained in:
arvidn 2017-12-30 00:09:17 +01:00 committed by Arvid Norberg
parent f6e5005db1
commit 17869828d7
1 changed files with 3 additions and 1 deletions

View File

@ -74,7 +74,9 @@ namespace {
int old_stdout = -1;
int old_stderr = -1;
bool redirect_stdout = true;
bool redirect_stderr = true;
// sanitizer output will go to stderr and we won't get an opportunity to print
// it, so don't redirect stderr by default
bool redirect_stderr = false;
bool keep_files = false;
// the current tests file descriptor