Russ Cox
c14924bcc8
implement zoneinfo reader
...
R=r
DELTA=348 (338 added, 0 deleted, 10 changed)
OCL=15648
CL=15660
2008-09-22 16:41:14 -07:00
Russ Cox
173ca8a2d0
re-fix bug067, update golden.out
...
R=r
DELTA=9 (4 added, 3 deleted, 2 changed)
OCL=15655
CL=15655
2008-09-22 16:16:22 -07:00
Russ Cox
fb40f88c40
test cleanup
...
- do not print tracebacks if $GOTRACEBACK=0
- set GOTRACEBACK=0 during tests
- filter out pc numbers in errors
R=r
DELTA=70 (22 added, 30 deleted, 18 changed)
OCL=15618
CL=15642
2008-09-22 13:47:53 -07:00
Russ Cox
fb2c66710c
compiler changes:
...
export.c:
- only expose explicitly exported types to importer
- fix behind your back
go.h:
- add deep() prototype (fixes 64-bit linux crash on time.go)
go.y:
- add a new syntax error case
walk.c:
- allow a,b = f() where f is func ptr (fixes bug088)
R=ken
OCL=15617
CL=15630
2008-09-22 12:45:01 -07:00
Ken Thompson
8a9752dcfb
another async select bug
...
R=r
OCL=15599
CL=15599
2008-09-20 19:56:40 -07:00
Rob Pike
9ebd9d3b7d
fix some tests
...
R=ken
OCL=15598
CL=15598
2008-09-20 15:16:48 -07:00
Ken Thompson
934a19fa4b
channel test
...
R=r
OCL=15587
CL=15587
2008-09-19 20:52:59 -07:00
Ian Lance Taylor
66b261a082
Check for specific error messages in the testsuite. This
...
permits testing that the compiler emits error messages for
specific lines that match egrep regexps. The desired error
messages are expressed using comments of the form
// ERROR "regexp"
R=r
DELTA=90 (73 added, 8 deleted, 9 changed)
OCL=15513
CL=15566
2008-09-19 14:39:49 -07:00
Russ Cox
72e3b204e4
add gobuild.
...
use gobuild-generated Makefile for math and os.
other makefile tweaks.
move math/main.go to test/math.go
R=r
OCL=15529
CL=15537
2008-09-19 11:55:46 -07:00
Robert Griesemer
6a0fb60866
- added item to TODO list in go_spec
...
- filed a bug
R=r
OCL=15517
CL=15517
2008-09-18 23:16:22 -07:00
Russ Cox
68209ed5e3
fix printing of -(1<<63)
...
R=r
OCL=15441
CL=15445
2008-09-17 14:08:52 -07:00
Russ Cox
9350ef4eea
add network listening & tests
...
R=r,presotto
OCL=15410
CL=15440
2008-09-17 13:49:23 -07:00
Rob Pike
27c0eb8431
update tests to new communications syntax
...
powser1.go has not been tested - waiting for compiler to catch up
R=ken
OCL=15415
CL=15415
2008-09-16 19:33:40 -07:00
Russ Cox
4dfc7f0f14
fix / work around bugs in bufio test
...
R=r
DELTA=11 (8 added, 0 deleted, 3 changed)
OCL=15405
CL=15405
2008-09-16 14:15:54 -07:00
Rob Pike
85f8d4501a
fix some broken tests (tests themselves were wrong)
...
R=gri,rsc
OCL=15310
CL=15402
2008-09-16 14:03:43 -07:00
Rob Pike
c3b397bd99
var bug is fixed
...
R=rsc
OCL=15400
CL=15400
2008-09-16 14:02:41 -07:00
Rob Pike
6f38063369
update bugs
...
delete bug100.go since the compiler is doing what we agreed.
R=gri
OCL=15367
CL=15367
2008-09-15 14:27:15 -07:00
Robert Griesemer
ddc7bc5aba
test program to generate multiples of a set of factors
...
(as written, factors are 2, 3, and 5)
R=r
OCL=15286
CL=15286
2008-09-12 17:39:29 -07:00
Russ Cox
7c9e2c2b6c
buffered input & output
...
R=r
DELTA=812 (803 added, 0 deleted, 9 changed)
OCL=15225
CL=15280
2008-09-12 16:42:53 -07:00
Russ Cox
22731159b0
array literals not initialized
...
R=r
DELTA=11 (11 added, 0 deleted, 0 changed)
OCL=15222
CL=15276
2008-09-12 16:35:02 -07:00
Russ Cox
729bc5c0c7
rudimentary string utilities.
...
R=r
DELTA=314 (306 added, 8 deleted, 0 changed)
OCL=15074
CL=15263
2008-09-12 16:12:20 -07:00
Russ Cox
96b906498a
out of bounds bug
...
R=r
DELTA=9 (9 added, 0 deleted, 0 changed)
OCL=15223
CL=15223
2008-09-12 09:43:21 -07:00
Russ Cox
d988e78889
bug 100 - spurious return warnings
...
R=r
OCL=15221
CL=15221
2008-09-12 08:37:08 -07:00
Russ Cox
ed18e57896
new bug
...
R=r
DELTA=34 (34 added, 0 deleted, 0 changed)
OCL=15178
CL=15181
2008-09-11 17:19:38 -07:00
Robert Griesemer
3cd7e43182
- map composites should be of correct map type (instead of pointer type)
...
R=r
OCL=15180
CL=15180
2008-09-11 17:16:50 -07:00
Robert Griesemer
24b3995cb6
- 2 bugs with composite literals
...
R=r
OCL=15179
CL=15179
2008-09-11 17:11:16 -07:00
Robert Griesemer
94979c3177
- added 2 bugs
...
- moved bug 060 back into bugs
R=r
OCL=15175
CL=15175
2008-09-11 16:17:25 -07:00
Rob Pike
d6f15be61d
fixes for funcs without returns
...
R=ken
OCL=15170
CL=15170
2008-09-11 15:48:42 -07:00
Robert Griesemer
e35139afd4
- added bug093.go
...
R=r
DELTA=80 (78 added, 2 deleted, 0 changed)
OCL=15094
CL=15101
2008-09-10 14:21:42 -07:00
Robert Griesemer
0416f994b7
- added convenience wrappers for sort
...
(work now with Ken's latest compiler fix)
- exoanded test cases accordingly
- fixed a type in the spec (thx r)
R=r
DELTA=65 (62 added, 2 deleted, 1 changed)
OCL=15050
CL=15050
2008-09-09 18:13:08 -07:00
Rob Pike
c4748872b8
update golden
...
R=gri
OCL=15014
CL=15014
2008-09-09 12:46:21 -07:00
Robert Griesemer
ffbccb66c2
fixed sorting.go to use proper composite literal {}'s instead of
...
"conversion"
R=r
OCL=14976
CL=14976
2008-09-08 18:50:35 -07:00
Robert Griesemer
18852cf6d3
- added sort package and test case
...
R=r
OCL=14975
CL=14975
2008-09-08 18:43:42 -07:00
Russ Cox
46eb0f7b08
limit tests to 4GB of memory.
...
3G works on thresher, 2G does not
R=r
OCL=14956
CL=14958
2008-09-08 15:22:45 -07:00
Ken Thompson
0194aaf918
T{} syntax for constructors
...
T(expression) for conversion
FUNC keyword no longer a type
R=r
OCL=14887
CL=14887
2008-09-05 19:50:34 -07:00
Rob Pike
7713599f95
update tests
...
R=gri
OCL=14847
CL=14847
2008-09-04 17:36:57 -07:00
Rob Pike
2a08f29e5f
resolve that all unnecessary backslashes are rejected.
...
bug068 is not a bug.
R=gri
OCL=14838
CL=14838
2008-09-04 16:48:19 -07:00
Rob Pike
696815c542
extend composite literal test.
...
update tests.
update golden.out
R=gri
OCL=14816
CL=14816
2008-09-04 13:35:19 -07:00
Rob Pike
6c72bfa55b
fix bug in stack overflow check.
...
if stack is in low memory and frame size is huge, test could wrap around!
fix by omitting test altogether if we know frame is big.
R=gri
OCL=14782
CL=14782
2008-09-03 19:58:46 -07:00
Rob Pike
5ee2b0478a
update bugs
...
add test for composite literals
R=gri
OCL=14766
CL=14766
2008-09-03 15:54:33 -07:00
Rob Pike
e1e53e35a4
update tests
...
add commands to two new ken tests
R=gri
OCL=14751
CL=14751
2008-09-03 13:21:05 -07:00
Russ Cox
32556ef9e7
in golden.out, replace $RUNFILE with '$RUNFILE'
...
and replace pid with PID
R=r
DELTA=4 (2 added, 0 deleted, 2 changed)
OCL=14727
CL=14727
2008-09-02 14:26:59 -07:00
Rob Pike
a0b2ccf9f4
vector cleanup:
...
- change Delete to Remove
- return deleted element in Remove
- remove range checking (runtime does this for you)
R=gri
OCL=14714
CL=14714
2008-09-02 13:16:43 -07:00
Rob Pike
9fbc221f0e
update tests.
...
fix bug092, which was incorrectly specified
R=gri
OCL=14713
CL=14713
2008-09-02 13:08:40 -07:00
Robert Griesemer
fb4c2a3737
- declaring large fixed arrays is causing runtime crash
...
R=ken
OCL=14658
CL=14660
2008-08-29 13:47:29 -07:00
Robert Griesemer
7b4d719686
- removed need for int() conversion now that x << s has correct type
...
- updated golden.out
R=r
DELTA=9 (0 added, 8 deleted, 1 changed)
OCL=14657
CL=14657
2008-08-29 13:33:34 -07:00
Ken Thompson
944ad62ecd
fix type of (1<<x)
...
R=r
OCL=14656
CL=14656
2008-08-29 13:24:53 -07:00
Robert Griesemer
7eff30f0f0
- updated test cases to latest compiler changes
...
R=r
DELTA=185 (59 added, 33 deleted, 93 changed)
OCL=14655
CL=14655
2008-08-29 13:21:00 -07:00
Robert Griesemer
08c4380e48
- updated and cleaned up vector.go to use new array instructions
...
- added initial test cases (needs to be expanded)
R=r
DELTA=135 (84 added, 30 deleted, 21 changed)
OCL=14654
CL=14654
2008-08-29 11:10:23 -07:00
Ken Thompson
66a603c986
arrays
...
R=r
OCL=14603
CL=14603
2008-08-27 17:28:30 -07:00