aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-02-02 16:44:13 -0800
committerColin Cross <ccross@android.com>2017-02-02 16:46:33 -0800
commite281d3395b41090a9df955fd0986fe7def1dffd1 (patch)
treef5464e9bcc461f22da828304a1a6b67781b5931a
parentfaeb7aa1351df6f1d7eae990d0e3d4c68f5c4abf (diff)
downloadbuild_soong-e281d3395b41090a9df955fd0986fe7def1dffd1.tar.gz
build_soong-e281d3395b41090a9df955fd0986fe7def1dffd1.tar.bz2
build_soong-e281d3395b41090a9df955fd0986fe7def1dffd1.zip
Fix zip tests
Fix error when building zip tests running go test ./...: android/soong/third_party/zip/zip_test.go:13:2: use of internal package not allowed Test: go test ./... Change-Id: I4fd7317401fd3d9c95c6f11799c94c1eff25523e
-rw-r--r--third_party/zip/zip_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/third_party/zip/zip_test.go b/third_party/zip/zip_test.go
index 3a3c915d..73736606 100644
--- a/third_party/zip/zip_test.go
+++ b/third_party/zip/zip_test.go
@@ -10,7 +10,6 @@ import (
"bytes"
"fmt"
"hash"
- "internal/testenv"
"io"
"io/ioutil"
"sort"
@@ -20,7 +19,7 @@ import (
)
func TestOver65kFiles(t *testing.T) {
- if testing.Short() && testenv.Builder() == "" {
+ if testing.Short() {
t.Skip("skipping in short mode")
}
buf := new(bytes.Buffer)