Revert "llvm-reduce: Color output of child processes"
authorArthur Eubanks <aeubanks@google.com>
Mon, 17 Oct 2022 21:29:30 +0000 (14:29 -0700)
committerArthur Eubanks <aeubanks@google.com>
Mon, 17 Oct 2022 21:37:24 +0000 (14:37 -0700)
This reverts commit 86e9181ded7c5b6aa67a3a84089fce850c84f27a.

Seems to be causing bot failures: https://lab.llvm.org/buildbot#builders/5/builds/28313

Plus as noted on D135632 it seems to interact badly with parallel reduction.

llvm/tools/llvm-reduce/TestRunner.cpp

index 5681a81..63de850 100644 (file)
@@ -39,13 +39,9 @@ int TestRunner::run(StringRef Filename) {
     for (int i = 0; i < 3; ++i)
       Redirects.push_back(Empty);
   }
-
-  outs().changeColor(raw_ostream::YELLOW);
-
   int Result =
       sys::ExecuteAndWait(TestName, ProgramArgs, /*Env=*/None, Redirects,
                           /*SecondsToWait=*/0, /*MemoryLimit=*/0, &ErrMsg);
-  outs().resetColor();
 
   if (Result < 0) {
     Error E = make_error<StringError>("Error running interesting-ness test: " +