support unset GOPATH in Go 1.8 in integrationtests

fixes #415
This commit is contained in:
Marten Seemann
2017-02-18 13:40:28 +07:00
parent 0d6647ed8c
commit bd452b35ca
5 changed files with 14 additions and 36 deletions

View File

@@ -3,9 +3,7 @@ package integrationtests
import (
"bytes"
"fmt"
"os"
"os/exec"
"runtime"
"strconv"
"sync"
@@ -24,12 +22,6 @@ var _ = Describe("Integration tests", func() {
dataMan.GenerateData(dataLen)
})
clientPath := fmt.Sprintf(
"%s/src/github.com/lucas-clemente/quic-clients/client-%s-debug",
os.Getenv("GOPATH"),
runtime.GOOS,
)
for i := range protocol.SupportedVersions {
version := protocol.SupportedVersions[i]