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
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
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
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
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
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
Rob Pike
0f1d439e82
update bugs
...
exploit the compiler now supporting i2s and i2i and clean up some code
fix up some panics and prints
R=gri
OCL=14141
CL=14141
2008-08-12 17:07:33 -07:00
Rob Pike
8c89767c72
update tests
...
R=gri
OCL=14137
CL=14137
2008-08-12 16:11:55 -07:00
Rob Pike
bc2f5f1dce
fix bug depot:
...
1) fix print statements, panic statements (parentheses required)
2) len is now allowed as a var name (bug053)
R=gri
OCL=14106
CL=14106
2008-08-11 22:07:49 -07:00
Rob Pike
cbaca0be24
code in bug was wrong; correct and improve. works now.
...
R=gri
OCL=14088
CL=14088
2008-08-11 13:08:16 -07:00
Rob Pike
1f41ed375b
update tests.
...
fixedbugs/bug012.go is broken again but i left it where it is, with
the golden file not reflecting the breakage so it will be noticed
R=ken,gri
OCL=14073
CL=14073
2008-08-11 10:10:48 -07:00
Rob Pike
69353f0a50
fix erroneous code in bugs; reported by iant.
...
also rob1.go runs, so fix its status.
R=gri,iant
OCL=13957
CL=13957
2008-08-07 13:27:58 -07:00
Rob Pike
234dd3d7e3
go method bug is fixed.
...
R=gri
OCL=13766
CL=13766
2008-08-02 15:52:36 -07:00
Rob Pike
f436ade2fd
update tests
...
R=gri
OCL=13526
CL=13526
2008-07-28 16:08:38 -07:00
Rob Pike
ea0569026c
update tests
...
R=gri
OCL=13516
CL=13516
2008-07-28 10:22:49 -07:00
Rob Pike
6bff372594
update tests
...
R=ken
OCL=13507
CL=13507
2008-07-27 13:50:54 -07:00
Rob Pike
1fc8e6f74a
update tests
...
R=gri
OCL=13469
CL=13469
2008-07-25 12:20:14 -07:00
Rob Pike
85c85e2b3f
test update
...
SVN=128120
2008-07-19 15:08:56 -07:00
Robert Griesemer
bce1c3f09a
- added 2 bugs tests
...
SVN=128056
2008-07-18 12:26:48 -07:00
Rob Pike
6426659db9
update tests
...
SVN=127826
2008-07-17 11:15:11 -07:00
Rob Pike
5352306f10
fixed three-way decl
...
SVN=126254
2008-07-07 18:07:31 -07:00
Rob Pike
c0eb70265d
bug update
...
SVN=126121
2008-07-07 10:17:52 -07:00
Rob Pike
bf14ef61fc
test cleanup
...
SVN=126120
2008-07-07 10:03:10 -07:00
Rob Pike
b0273023f6
one bug fixed
...
SVN=126006
2008-07-03 18:10:54 -07:00
Rob Pike
0b6e6afb76
add test that was mistakenly not checked in, now fixed
...
SVN=125408
2008-06-30 16:52:17 -07:00
Rob Pike
e95481a938
test wasn't being run. it works fine.
...
SVN=125179
2008-06-27 14:25:50 -07:00
Rob Pike
f977e251fa
add a test
...
fix make.bash for runtime - sysfile.6 depends on OS so simplest thing is to build just our own version
SVN=125130
2008-06-27 11:36:40 -07:00
Rob Pike
7b409b30f2
update some tests
...
SVN=124196
2008-06-23 17:13:33 -07:00
Rob Pike
080bd1ec8a
a couple of bugs around nil are fixed
...
SVN=123423
2008-06-18 13:53:51 -07:00
Rob Pike
9b664c580f
'default' bug in switch statements is fixed
...
SVN=123411
2008-06-18 13:06:09 -07:00
Rob Pike
9a58c9c52a
update more tests to reflect tweaked grammar for if, switch
...
SVN=122916
2008-06-16 12:16:11 -07:00
Rob Pike
5bccc6acec
move file for fixed bug
...
SVN=121626
2008-06-08 19:26:07 -07:00
Rob Pike
e285ed6090
Fix a few tests
...
SVN=121614
2008-06-08 17:19:11 -07:00
Rob Pike
094ee44b32
check in the bugs and fixed bugs
...
SVN=121543
2008-06-06 16:56:18 -07:00