- 01 Apr, 2011 1 commit
-
-
Alex Brainman authored
R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4347041
-
- 31 Mar, 2011 10 commits
-
-
Alex Brainman authored
R=peterGo, rsc, Joe Poirier CC=golang-dev https://golang.org/cl/4280087
-
Ian Lance Taylor authored
Since Go code can deadlock, this lets a testsuite driver set a time limit for the test to run. This is simple but imperfect, in that it only catches deadlocks in Go code, not in the runtime scheduler. R=r, rsc, iant2 CC=golang-dev https://golang.org/cl/4326048
-
Rob Pike authored
Also fix a bug: precision was in terms of bytes; should be runes. Fixes #1652. R=rsc, bradfitzgo, r2, bradfitzwork CC=golang-dev https://golang.org/cl/4280086
-
Rob Pike authored
It was speculation. Also replace one silly word with an English replacement. R=golang-dev, bradfitzgo CC=golang-dev https://golang.org/cl/4339041
-
Brad Fitzpatrick authored
R=rsc CC=golang-dev https://golang.org/cl/4280079
-
Alexey Borzenkov authored
Fix resolv_windows.go to support recent DNS-lookup changes R=brainman, rsc1, rsc CC=golang-dev https://golang.org/cl/4300045
-
Rob Pike authored
doc.go contains the details. The short story: - command line is passed to the binary - a new flag, -file, is needed to name files - known flags have the "test." prefix added for convenience. - gotest-specific flags are trimmed from the command line. The effect should be that most existing uses are unaffected, the ability to name files is still present, and it's nicer to use. The downside is a lot more code in gotest. Also allow a test to be called just Test. R=rsc, niemeyer, rog, r2 CC=golang-dev https://golang.org/cl/4307049
-
Russ Cox authored
TBR=r CC=golang-dev https://golang.org/cl/4333048
-
Russ Cox authored
R=r, r2 CC=golang-dev https://golang.org/cl/4307047
-
Russ Cox authored
This will make the fmt code easier to gofix when the new reflect interface is ready. R=r CC=golang-dev https://golang.org/cl/4324043
-
- 30 Mar, 2011 8 commits
-
-
Robert Griesemer authored
also: minor fix to parser Note: gotest won't run the gotype test yet until it permits TestXXX functions where XXX is empty. R=r CC=golang-dev https://golang.org/cl/4300053
-
Robert Griesemer authored
- don't consume '\n' as part of line comment (otherwise grammars where '\n' are tokens won't see them after a line comment) - permit line comments to end in EOF R=r CC=golang-dev https://golang.org/cl/4277089
-
Ian Lance Taylor authored
This lets the test work for gccgo on other architectures. R=r, rsc1 CC=golang-dev https://golang.org/cl/4326044
-
Robert Griesemer authored
R=r, rsc1, iant2 CC=golang-dev https://golang.org/cl/4329044
-
Roger Peppe authored
R=gri CC=golang-dev https://golang.org/cl/4332045
-
Andrew Gerrand authored
R=gri CC=golang-dev https://golang.org/cl/4277087
-
Robert Griesemer authored
As a special case, multi-line raw strings (i.e., strings in `` quotes) were not indented if they were the only token on a line. This heuristic was meant to improve formatting for multi-line raw strings where sub- sequent lines are not indented at the level of the surrounding code. Multiple people have complained about this. Removing the heuristic again because it makes the formatting more regular, easier to under- stand, and simplifies the implementation. - manual changes to ebnf/ebnf_test.go for readability - gofmt -w src misc Fixes #1643. R=r, rsc CC=golang-dev https://golang.org/cl/4307045
-
Andrew Gerrand authored
I'm in two minds as to whether this should be a function of gotest. Tests that can flake out like this should be rare enough that we needn't add more mechanism. R=r CC=golang-dev https://golang.org/cl/4335042
-
- 29 Mar, 2011 21 commits
-
-
Ian Lance Taylor authored
R=rsc CC=golang-dev https://golang.org/cl/4271086
-
Ian Lance Taylor authored
Failing at compile time requires that for each conversion between two interface types the compiler compare the sets of unexported methods to see if they come from different packages. Since this test will fail approximately never on real code, and since it can't catch all cases of the problem, I don't think it's worth testing in the compiler. This CL changes this test to look for a run-time panic rather than a compile-time error. R=gri, rsc1, iant2, rsc CC=golang-dev https://golang.org/cl/4332041
-
Adam Langley authored
R=bradfitzgo, rsc1, bradfitzwork CC=golang-dev https://golang.org/cl/4277085
-
Rob Pike authored
R=rsc, agl, agl1 CC=golang-dev https://golang.org/cl/4337041
-
Rob Pike authored
Update the make sequence: gotest must now be installed after the packages. R=rsc CC=golang-dev https://golang.org/cl/4323044
-
Rob Pike authored
R=rsc, gri CC=golang-dev https://golang.org/cl/4336042
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/4327045
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/4330043
-
Adam Langley authored
R=rsc CC=golang-dev https://golang.org/cl/4326042
-
Albert Strasheim authored
R=rsc, iant, agl1 CC=golang-dev https://golang.org/cl/4280065
-
Alexey Borzenkov authored
It was left in netFD.connect() by an oversight (as the name implies, bind has no business being in connect). As a result of this change and by only calling netFD.connect() when ra isn't nil it becomes simpler with less code duplication. Additionally, if netFD.connect() fails, set sysfd to -1 to avoid finalizers (e.g. on windows) calling shutdown on a closed and possibly reopened socket that just happened to share the same descriptor. R=golang-dev, rsc1, rsc CC=golang-dev https://golang.org/cl/4328043
-
David Forsythe authored
Fixes #1645. R=rsc CC=golang-dev https://golang.org/cl/4321045
-
Russ Cox authored
R=golang-dev, r2 CC=golang-dev https://golang.org/cl/4333041
-
Rob Pike authored
Put them into the Makefile instead. One dependency mechanism is enough. R=rsc CC=golang-dev https://golang.org/cl/4331043
-
Rob Pike authored
It runs all tests correctly and saves significant time by avoiding the shell script. However, this is just the code for the command, for review. A separate CL will move this into the real gotest, which will take some dancing. R=rsc, peterGo, bsiegert, albert.strasheim, rog, niemeyer, r2 CC=golang-dev https://golang.org/cl/4281073
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/4313054
-
Mikkel Krautz authored
This changeset makes it possible for crypto/x509 to parse certificates that include the 'Extended Key Usage' extension with the critical bit set. R=agl1 CC=golang-dev https://golang.org/cl/4277075
-
Adam Langley authored
* Adds support for GENERAL STRING * Adds support for APPLICATION tagged values. * Add UnmarshalWithParams to set parameters for the top-level structure R=golang-dev, rsc1, r CC=golang-dev https://golang.org/cl/4291075
-
Ian Lance Taylor authored
R=gri, rsc1 CC=golang-dev https://golang.org/cl/4328041
-
Ian Lance Taylor authored
Without this the gccgo version of errchk reports an unmatched error. R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4327041
-
Ian Lance Taylor authored
chan.go:11:1: error: unexpected ‘}’ in channel type chan.go:13:16: error: unexpected ‘)’ in channel type chan.go:16:16: error: unexpected comma in channel type R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4313055
-