Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go test -i -c builds twice #5678

Closed
alberts opened this issue Jun 11, 2013 · 1 comment
Closed

go test -i -c builds twice #5678

alberts opened this issue Jun 11, 2013 · 1 comment

Comments

@alberts
Copy link
Contributor

alberts commented Jun 11, 2013

What steps will reproduce the problem?

Make a package foo. Make a test in foo that imports a package bar. Add a compile error
to bar.

In your editor, make your build step:

go test -i -c foo

When this works, you know that your test is ready to run.

What is the expected output?

+ go test -i -c foo
# bar
src/bar/bar.go:3: undefined: net

What do you see instead?

+ go test -i -c foo
# bar
src/bar/bar.go:3: undefined: net
warning: building out-of-date packages:
    bar
installing these packages with 'go test -i foo' will speed future tests.

# bar
src/bar/bar.go:3: undefined: net

Which compiler are you using (5g, 6g, 8g, gccgo)?

6g

Which operating system are you using?

linux

Which version are you using?  (run 'go version')

go version devel +02e5cb24c95a Tue May 28 17:59:10 2013 -0700 linux/amd64

Please provide any additional information below.

Related to issue #3104 maybe.
@davecheney
Copy link
Contributor

Comment 1:

Status changed to Duplicate.

Merged into issue #5679.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants