]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] test: use SSA codegen for runnable tests
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 7 Sep 2015 02:39:07 +0000 (19:39 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 7 Sep 2015 18:29:09 +0000 (18:29 +0000)
commit1fc52b61f24c210514d4b14e9cc2f8e0aa3f3d9b
tree16563b19a635f8f6ffb1bb21ed0236d39f952948
parentad5ceafa2cc71380e2b1d4ecd9ddd5ff458c3010
[dev.ssa] test: use SSA codegen for runnable tests

Now that the standard library tests
are all passing, add the
test directory tests.

These contain a number of edge case tests
that are of particular interest for compilers.

Some kinds of tests are not well-suited
for a new backend, such as errorcheck tests.
To start, use SSA only for run and runoutput.

There are three failing tests now.
Just mark them as such for now,
so that we can prevent regressions.

This code will all be unwound once SSA
codegen matures and becomes the default.

Change-Id: Ic51e6d0cc1cd48ef1e2fe2c9a743bf0cce275200
Reviewed-on: https://go-review.googlesource.com/14344
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
test/run.go