1
0
mirror of https://github.com/golang/go synced 2024-10-01 11:38:34 -06:00
go/ssa
Alan Donovan cd908f1108 go.tools/ssa/interp: capture stdout/err of target programs and check for "BUG".
The $GOROOT/tests may print "BUG" on failure but do not
necessarily exit zero, so we must capture their output too.

Details:
- make plan9 use unix's valueToBytes function (now in externals.go)
- direct the target's syscall.Write and print/println built-ins to a new utility, write().  This may capture the output into a global variable.

R=gri, r
CC=golang-dev
https://golang.org/cl/14550044
2013-10-08 14:35:39 -04:00
..
interp go.tools/ssa/interp: capture stdout/err of target programs and check for "BUG". 2013-10-08 14:35:39 -04:00
testdata go.tools/ssa: fix ssa tests (fix build partly) 2013-09-18 11:39:55 -07:00
blockopt.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
builder_test.go go.tools: clear DeclarationErrors flag; it's redundant w.r.t go/types checking. 2013-10-08 10:34:36 -04:00
builder.go go.tools/ssa: s/Ret/Return/g 2013-10-08 12:31:39 -04:00
const.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
create.go go.tools/ssa: SSA fixes for *types.Builtin becoming an object (CL 13813043) 2013-09-23 18:18:35 -04:00
doc.go go.tools/ssa: s/Ret/Return/g 2013-10-08 12:31:39 -04:00
dom.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
emit.go go.tools/ssa: s/Ret/Return/g 2013-10-08 12:31:39 -04:00
example_test.go go.tools/ssa: s/Ret/Return/g 2013-10-08 12:31:39 -04:00
func.go go.tools/ssa: s/Ret/Return/g 2013-10-08 12:31:39 -04:00
lift.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
lvalue.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
print.go go.tools/ssa: s/Ret/Return/g 2013-10-08 12:31:39 -04:00
promote.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
sanity.go go.tools/ssa: s/Ret/Return/g 2013-10-08 12:31:39 -04:00
source_test.go go.tools: clear DeclarationErrors flag; it's redundant w.r.t go/types checking. 2013-10-08 10:34:36 -04:00
source.go go.tools/ssa: SSA fixes for *types.Builtin becoming an object (CL 13813043) 2013-09-23 18:18:35 -04:00
ssa.go go.tools/ssa: s/Ret/Return/g 2013-10-08 12:31:39 -04:00
stdlib_test.go go.tools/importer: generalize command-line syntax. 2013-09-06 18:13:57 -04:00
testmain.go go.tools/ssa: s/Ret/Return/g 2013-10-08 12:31:39 -04:00
util.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
visit.go go.tools/importer: generalize command-line syntax. 2013-09-06 18:13:57 -04:00