aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2018-03-29 11:31:08 -0700
committerChris Forbes <chrisforbes@google.com>2018-03-29 11:34:08 -0700
commit72d5d49445dc4187049f2af8b5143157538cad37 (patch)
tree64264e3e6a225bdc781f0d4be2327df7b7d8eef4
parent4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc (diff)
downloadcherry-72d5d49445dc4187049f2af8b5143157538cad37.tar.gz
Increase size of scanner buffer to cope with long line tests
The default buffer size is too small for the long OpSource tests in VulkanCTS. VK-GL-CTS: 1050
-rw-r--r--cherry/testrunner.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cherry/testrunner.go b/cherry/testrunner.go
index ec75de3..f7a7ccd 100644
--- a/cherry/testrunner.go
+++ b/cherry/testrunner.go
@@ -844,6 +844,7 @@ func (runner *TestRunner) ImportBatch (batchResultDefaultName string, qpaReader
qpaParser := CreateLogContainerParser(qpaParserQueue)
countingQpaReader := NewCountingReader(qpaReader)
scanner := bufio.NewScanner(countingQpaReader)
+ scanner.Buffer(nil, 256*1024)
// Initialize batch result and root group. Add to batch result list.
{