Skip to content

Commit

Permalink
remove -i in invocations of go test. fixes #305
Browse files Browse the repository at this point in the history
  • Loading branch information
onsi committed Oct 16, 2016
1 parent acfa16a commit afe049e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ginkgo/testrunner/test_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (t *TestRunner) Compile() error {
}

func (t *TestRunner) BuildArgs(path string) []string {
args := []string{"test", "-c", "-i", "-o", path, t.Suite.Path}
args := []string{"test", "-c", "-o", path, t.Suite.Path}

if *t.goOpts["covermode"].(*string) != "" {
args = append(args, "-cover", fmt.Sprintf("-covermode=%s", *t.goOpts["covermode"].(*string)))
Expand Down Expand Up @@ -216,7 +216,7 @@ func copyFile(src, dst string) error {
}

/*
go test -c -i spits package.test out into the cwd. there's no way to change this.
go test -c spits package.test out into the cwd. there's no way to change this.
to make sure it doesn't generate conflicting .test files in the cwd, Compile() must switch the cwd to the test package.
Expand Down
4 changes: 2 additions & 2 deletions ginkgo/testrunner/test_runner_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package testrunner_test

import (
"testing"

. "github.com/onsi/ginkgo"
"github.com/onsi/ginkgo/ginkgo/testrunner"
"github.com/onsi/ginkgo/ginkgo/testsuite"
. "github.com/onsi/gomega"
"testing"
)

func strAddr(s string) interface{} {
Expand Down Expand Up @@ -38,7 +39,6 @@ var _ = Describe("TestRunner", func() {
Ω(args).Should(Equal([]string{
"test",
"-c",
"-i",
"-o",
".",
"",
Expand Down

0 comments on commit afe049e

Please sign in to comment.