From: Arthur Eubanks Date: Mon, 17 Oct 2022 21:29:30 +0000 (-0700) Subject: Revert "llvm-reduce: Color output of child processes" X-Git-Tag: upstream/17.0.6~30324 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=29cf7dffb81b0522231b1c154de108e059d8a4f0;p=platform%2Fupstream%2Fllvm.git Revert "llvm-reduce: Color output of child processes" 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. --- diff --git a/llvm/tools/llvm-reduce/TestRunner.cpp b/llvm/tools/llvm-reduce/TestRunner.cpp index 5681a81..63de850 100644 --- a/llvm/tools/llvm-reduce/TestRunner.cpp +++ b/llvm/tools/llvm-reduce/TestRunner.cpp @@ -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("Error running interesting-ness test: " +