Documentation ¶
Overview ¶
Package logparse contains functions for parsing and analyzing build and test logs produced by all.bash.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Failure ¶
type Failure struct { // Package is the Go package of this failure. In the case of a // testing.T failure, this will be the package of the test. Package string // Test identifies the failed test function. If this is not a // testing.T failure, this will be "". Test string // Message is the summarized failure message. This will be one // line of text. Message string // FullMessage is a substring of the log that captures the // entire failure message. It may be many lines long. FullMessage string // Function is the fully qualified name of the function where // this failure happened, if known. This helps distinguish // between generic errors like "out of bounds" and is more // stable for matching errors than file/line. Function string // File is the source file where this failure happened, if // known. File string // Line is the source line where this failure happened, if // known. Line int // OS and Arch are the GOOS and GOARCH of this failure. OS, Arch string }
Failure records a failure extracted from an all.bash log.
Click to show internal directories.
Click to hide internal directories.