File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ const testfile = "exports.go"
118
118
119
119
func TestImportTestdata (t * testing.T ) {
120
120
needsCompiler (t , "gc" )
121
+ testenv .NeedsGoBuild (t ) // to find stdlib export data in the build cache
121
122
122
123
tmpdir := mktmpdir (t )
123
124
defer os .RemoveAll (tmpdir )
@@ -164,6 +165,7 @@ func TestImportTypeparamTests(t *testing.T) {
164
165
}
165
166
166
167
testenv .NeedsGo1Point (t , 18 ) // requires generics
168
+ testenv .NeedsGoBuild (t ) // to find stdlib export data in the build cache
167
169
168
170
// This package only handles gc export data.
169
171
if runtime .Compiler != "gc" {
@@ -601,6 +603,7 @@ func TestCorrectMethodPackage(t *testing.T) {
601
603
func TestIssue13566 (t * testing.T ) {
602
604
// This package only handles gc export data.
603
605
needsCompiler (t , "gc" )
606
+ testenv .NeedsGoBuild (t ) // to find stdlib export data in the build cache
604
607
605
608
// On windows, we have to set the -D option for the compiler to avoid having a drive
606
609
// letter and an illegal ':' in the import path - just skip it (see also issue #3483).
You can’t perform that action at this time.
0 commit comments