aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/reflect/all_test.go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2018-02-02 00:33:03 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2018-02-02 00:33:03 +0000
commit60a57222fe2166519b54641766bccab92fa15606 (patch)
tree76de6a1a69229bc74191b8611aa22360b6c0369f /libgo/go/reflect/all_test.go
parent38f08ec0bd9bd39c578c2e9283a9aa00dc6bda15 (diff)
downloadgcc-60a57222fe2166519b54641766bccab92fa15606.zip
gcc-60a57222fe2166519b54641766bccab92fa15606.tar.gz
gcc-60a57222fe2166519b54641766bccab92fa15606.tar.bz2
reflect: enable allocation tests
They were disabled due to the lack of escape analysis. Now that we have escape analysis, unskip these tests. Reviewed-on: https://go-review.googlesource.com/86248 From-SVN: r257324
Diffstat (limited to 'libgo/go/reflect/all_test.go')
-rw-r--r--libgo/go/reflect/all_test.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/libgo/go/reflect/all_test.go b/libgo/go/reflect/all_test.go
index 86e7385..3070aac 100644
--- a/libgo/go/reflect/all_test.go
+++ b/libgo/go/reflect/all_test.go
@@ -6162,9 +6162,6 @@ func TestPtrToMethods(t *testing.T) {
}
func TestMapAlloc(t *testing.T) {
- if runtime.Compiler == "gccgo" {
- t.Skip("skipping on gccgo until we have escape analysis")
- }
m := ValueOf(make(map[int]int, 10))
k := ValueOf(5)
v := ValueOf(7)
@@ -6195,9 +6192,6 @@ func TestMapAlloc(t *testing.T) {
}
func TestChanAlloc(t *testing.T) {
- if runtime.Compiler == "gccgo" {
- t.Skip("skipping on gccgo until we have escape analysis")
- }
// Note: for a chan int, the return Value must be allocated, so we
// use a chan *int instead.
c := ValueOf(make(chan *int, 1))