Revert "Use SIGWINCH to update terminal size"

This reverts commit 49036be407.

Reason for revert: TestSmartStatusOutputWidthChange is flaky

Change-Id: Ie5231dbbab2887ce4c4697f3fe6e52cfd6f4dd17
This commit is contained in:
Colin Cross
2019-06-13 18:10:45 +00:00
parent 49036be407
commit 4bc5e802db
2 changed files with 11 additions and 54 deletions

View File

@@ -17,7 +17,6 @@ package terminal
import (
"bytes"
"fmt"
"syscall"
"testing"
"android/soong/ui/status"
@@ -261,8 +260,6 @@ func TestSmartStatusOutputWidthChange(t *testing.T) {
runner.startAction(action)
smart.termWidth = 30
// Fake a SIGWINCH
stat.(*smartStatusOutput).sigwinch <- syscall.SIGWINCH
runner.finishAction(result)
stat.Flush()