You've stretched the go run tool beyond its limit. Go run is (IMO)
only for one off scripts and tests, it is not a general purpose
facility for running anything larger than throwaway code.
I recommend that you move your *_test.go files into a package inside
your $GOPATH, then you can use all the facilities of the go tool
without limitation.
Cheers
Dave
On Tue, Mar 26, 2013 at 10:51 AM, <
a...@develooper.com> wrote:
> Hi everyone,
>
> With go 1.0.x I'd use "go run *.go" to run my program without building it
> first ("go build; ./someprogram").
>
> With tip I get
>
> $ go run *.go
> go run: cannot run *_test.go files (dns_test.go)
>
> So now I'm writing
>
> $ go run `ls *.go | grep -v _test.go`
>
> but now I'm sure I'm doing it wrong. :-) What am I missing?
>
>
> Ask
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
golang-nuts...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>