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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user