diff --git a/test.go b/test.go index f5646f407b..b6be41a86e 100755 --- a/test.go +++ b/test.go @@ -167,7 +167,6 @@ func (t *Test) run(dir, dataDir string) ([]byte, error) { if strings.Contains(fmt.Sprintf("%v", t.File), ".go") { testCmd = []string{"tools/e2e_go_test.sh"} testCmd = append(testCmd, t.Args...) - testCmd = append(testCmd, "--skip-build", "--keep-logs") } else { testCmd = []string{"test/" + t.File, "-v", "--skip-build", "--keep-logs"} testCmd = append(testCmd, t.Args...) diff --git a/tools/e2e_go_test.sh b/tools/e2e_go_test.sh index 7f65d17fee..9148d80e15 100755 --- a/tools/e2e_go_test.sh +++ b/tools/e2e_go_test.sh @@ -1,4 +1,4 @@ #!/bin/bash source build.env -echo "running tests for $1" -go test -v $1 -count=1 \ No newline at end of file +echo "running tests for $@ " +go test -v $@ -count=1 \ No newline at end of file