From 1cf0a337cd20f304e6caa20d6a07392e7f071245 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Tue, 16 Aug 2016 22:08:34 -0700 Subject: [PATCH] go/gcimporter15: don't run 1.7-specific test under 1.8 (fix build) TBR=adonovan Change-Id: I310ff6e51d681b2e5c8288e73870ce7d68e45518 Reviewed-on: https://go-review.googlesource.com/27208 Reviewed-by: Robert Griesemer --- go/gcimporter15/gcimporter17_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/go/gcimporter15/gcimporter17_test.go b/go/gcimporter15/gcimporter17_test.go index d938df88..cca237c8 100644 --- a/go/gcimporter15/gcimporter17_test.go +++ b/go/gcimporter15/gcimporter17_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build go1.7 +// +build go1.7,!go1.8 package gcimporter @@ -15,7 +15,6 @@ import ( "testing" ) -// TODO(gri) Remove this function once we switched to new export format by default. func compileNewExport(t *testing.T, dirname, filename string) string { /* testenv. */ MustHaveGoBuild(t) cmd := exec.Command("go", "tool", "compile", "-newexport", filename) @@ -29,8 +28,6 @@ func compileNewExport(t *testing.T, dirname, filename string) string { return filepath.Join(dirname, filename[:len(filename)-2]+"o") } -// TODO(gri) Remove this function once we switched to new export format by default -// (and update the comment and want list in TestImportTestdata). func TestImportTestdataNewExport(t *testing.T) { // This package only handles gc export data. if runtime.Compiler != "gc" {