1
0
mirror of https://github.com/golang/go synced 2024-11-13 18:30:26 -07:00
Commit Graph

1081 Commits

Author SHA1 Message Date
Rob Pike
3a613be75e fix some tests
SVN=125987
2008-07-03 16:48:59 -07:00
Robert Griesemer
b43ad96ed6 - filed a bug w/ constant evaluation
SVN=125966
2008-07-03 15:16:51 -07:00
Rob Pike
add9c8cc18 fix typo in file name
SVN=125964
2008-07-03 15:16:17 -07:00
Robert Griesemer
8b45c369fb - filed a bug
SVN=125596
2008-07-01 18:06:00 -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
6973e3813f update golden
fix a comment

SVN=125405
2008-06-30 16:30:53 -07:00
Rob Pike
eca23cfd92 slice doesn't work on a string literal
SVN=125259
2008-06-28 12:50:33 -07:00
Rob Pike
00368bae8c new test - map failure
SVN=125258
2008-06-28 11:38:07 -07:00
Rob Pike
282356bf4f update: hashmap compiles now
SVN=125233
2008-06-27 17:58:13 -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
34cb7c299e export sys.exit
update tests to use exit rather than return
ignore return value from main (actually done in prior CL)

SVN=125173
2008-06-27 14:15:06 -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
Robert Griesemer
0f99bec402 - added calc cmd
SVN=125025
2008-06-26 18:35:22 -07:00
Rob Pike
695e3938a0 add readfile test
update golden

SVN=125006
2008-06-26 17:08:39 -07:00
Robert Griesemer
553771314c - moved integer code into src/pkg
SVN=125003
2008-06-26 16:52:15 -07:00
Ken Thompson
f710e8ed04 simultaneous assignment test
SVN=124994
2008-06-26 16:21:51 -07:00
Robert Griesemer
433ac8e57b - a couple of fixes for integer.go
- added pkg dir

SVN=124991
2008-06-26 16:15:43 -07:00
Robert Griesemer
2b8db5a439 - added bug against maps
SVN=124977
2008-06-26 15:15:38 -07:00
Robert Griesemer
7e21ec3007 - filed a bug against len()
SVN=124926
2008-06-26 11:56:17 -07:00
Robert Griesemer
3311e1b673 - dump registers in case of signal (linux)
SVN=124702
2008-06-25 17:07:22 -07:00
Rob Pike
c137d6b8e4 improve bug054.go
fix integer.ToString to return the proper, not-nul-terminated value

SVN=124654
2008-06-25 15:22:27 -07:00
Rob Pike
0ece7d470f add new bug: can't compile a, b := sys.frexp(1.0)
SVN=124622
2008-06-25 14:05:38 -07:00
Rob Pike
2987c8434b arguments available
argc, argv, envc, envv all in sys now
sys.argc() etc.

SVN=124398
2008-06-24 15:31:03 -07:00
Rob Pike
7b409b30f2 update some tests
SVN=124196
2008-06-23 17:13:33 -07:00
Ken Thompson
a77f7b2497 remove receclarations from tests
that are supposed to succeed

SVN=124018
2008-06-21 15:08:04 -07:00
Robert Griesemer
543226e8fd - added large integer arithmetic package and test cases
SVN=123486
2008-06-18 17:09:20 -07:00
Rob Pike
3df8e0a166 clean up ken/rob2.go to eliminate a few workarounds
SVN=123442
2008-06-18 14:47:46 -07:00
Rob Pike
74aa77fbd4 add new test bug055
SVN=123431
2008-06-18 14:17:24 -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
727ea928d5 forgot command line for bug054
update golden.out

SVN=123412
2008-06-18 13:08:01 -07:00
Rob Pike
9b664c580f 'default' bug in switch statements is fixed
SVN=123411
2008-06-18 13:06:09 -07:00
Rob Pike
a65cc2a867 add a bug: method call doesn't compile
SVN=123403
2008-06-18 11:51:21 -07:00
Robert Griesemer
9615542d10 - added another bug test ('len' shouldn't be a keyword)
SVN=123225
2008-06-17 16:22:02 -07:00
Robert Griesemer
e5373f27d0 - added 2 bug tests
SVN=123220
2008-06-17 16:04:33 -07:00
Rob Pike
ec94a8cfc9 add two more tests
SVN=123143
2008-06-17 10:56:28 -07:00
Rob Pike
bb57a5bc2c added two new small tests
SVN=123010
2008-06-16 15:18:10 -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
39b28df01e update test results
SVN=122912
2008-06-16 11:36:23 -07:00
Ken Thompson
e1a06ccc80 now checks for lvalue/rvalue context of
expressions.
start of generics for calling builtin
     functions
start of map type
'any' demoted from reserved word to type

SVN=122808
2008-06-15 20:24:30 -07:00
Rob Pike
30706a7ee7 error messages now have colon after line number
SVN=122803
2008-06-15 12:22:35 -07:00
Rob Pike
a432e09b44 Add nil test, with bug
SVN=122644
2008-06-13 09:09:22 -07:00
Ken Thompson
343f5aa7b4 better import/export
SVN=122584
2008-06-12 21:48:56 -07:00
Rob Pike
69b74c3953 import the plan 9 libraries libc (lib9) and libbio into the tree.
remove the dependency on /home/r.

SVN=122482
2008-06-12 13:26:16 -07:00
Rob Pike
4633a8ffe7 This test now runs correctly, with no bugs commented out
SVN=122460
2008-06-12 11:04:40 -07:00
Robert Griesemer
a544938c26 - added test case
SVN=122159
2008-06-11 12:07:43 -07:00
Rob Pike
e8010b38e4 add bug045: bad nil assigning into array
update robfunc.go (BUG comment deleted)

SVN=122143
2008-06-11 10:33:20 -07:00
Ken Thompson
b1a3463a7b made fp numbers from integers and
checked values

SVN=121972
2008-06-10 13:23:19 -07:00
Rob Pike
a32063b00e divide is now in; update golden
SVN=121739
2008-06-09 13:33:33 -07:00
Rob Pike
3086910f17 fix bug in closeness for float literal test
SVN=121628
2008-06-08 19:37:22 -07:00
Rob Pike
33f7637d6a fix float lit to return 1, print error
SVN=121627
2008-06-08 19:33:54 -07:00
Rob Pike
5bccc6acec move file for fixed bug
SVN=121626
2008-06-08 19:26:07 -07:00
Rob Pike
814896ea5f update lots of tests
SVN=121624
2008-06-08 19:21:16 -07:00
Rob Pike
f07d2eea52 fix string_lit test to be more thorough
SVN=121623
2008-06-08 19:08:00 -07:00
Rob Pike
316bc2637d default to amd64 in run
test/func.go now works; update golden.out

SVN=121617
2008-06-08 17:29:57 -07:00
Rob Pike
e285ed6090 Fix a few tests
SVN=121614
2008-06-08 17:19:11 -07:00
Ken Thompson
ad073b1cf1 asdf
SVN=121608
2008-06-08 16:16:17 -07:00
Robert Griesemer
d9178fceb6 - method forward decl. bug
SVN=121563
2008-06-06 17:50:46 -07:00
Robert Griesemer
fc184ef887 - forward decl bug
SVN=121561
2008-06-06 17:35:08 -07:00
Robert Griesemer
709e3a3fbd - tests for type forward declarations
SVN=121560
2008-06-06 17:23:22 -07:00
Rob Pike
5e77b0a82e fix erroneous test
SVN=121554
2008-06-06 17:08:31 -07:00
Robert Griesemer
cc85574c25 - updated golden.out one more time
SVN=121552
2008-06-06 17:07:38 -07:00
Robert Griesemer
938c5c5e2c - fixed test commands
SVN=121551
2008-06-06 17:05:53 -07:00
Robert Griesemer
298bafe2b5 - fixed golden.out
SVN=121550
2008-06-06 17:02:55 -07:00
Robert Griesemer
70321bf9fa - moved some bugs into bugs directory
SVN=121548
2008-06-06 17:02:01 -07:00
Robert Griesemer
5182aff001 - more tests (mostly redeclaration errors that are not checked)
SVN=121546
2008-06-06 16:59:54 -07:00
Rob Pike
094ee44b32 check in the bugs and fixed bugs
SVN=121543
2008-06-06 16:56:18 -07:00
Robert Griesemer
e92b753810 - fixed a few tests and added 3 incorrectly succeeding tests
- updated go_lang.txt to be more uniform and match the implementation
- made makehtml work on Mac
- fixed a couple of bugs in go.atg

SVN=121520
2008-06-06 15:53:14 -07:00
Robert Griesemer
2f538554f6 - fix to func.go
- extra empty line between test output

SVN=121499
2008-06-06 15:08:24 -07:00
Rob Pike
ab34d15f69 add ken's tests.
update run to work with multiple directories

SVN=121485
2008-06-06 14:27:34 -07:00
Rob Pike
384c5bed2d update golden.out for two versions of hello, world
SVN=121479
2008-06-06 14:02:48 -07:00
Ken Thompson
dfdc7c1a8a turing now works
SVN=121477
2008-06-06 13:59:17 -07:00
Rob Pike
17ee7818de print count of failing tests
SVN=121467
2008-06-06 13:38:16 -07:00
Rob Pike
aebf31ff5d remove 6.out in test/run. update golden file
SVN=121465
2008-06-06 13:32:59 -07:00
Rob Pike
126150d0f6 lots of new tests
SVN=121464
2008-06-06 13:28:03 -07:00
Rob Pike
27fb2abf76 first cut at test suite
SVN=121454
2008-06-06 12:57:00 -07:00
Rob Pike
c0c30258be turn spaces to tabs
replace ifs with switch
still runs!

SVN=118947
2008-05-15 15:20:59 -07:00
Robert Griesemer
9bc7b08abb - changed literal syntax to use the convert notation
- fixed issued with function declarations/function literals
- added more tests and fixed existing tests

SVN=118167
2008-05-08 17:12:15 -07:00
Robert Griesemer
76abea7c6d - fixed a test
- added extra basic type aliases
- added select statement

SVN=117448
2008-05-01 18:48:52 -07:00
Robert Griesemer
d79b17e60a - Make Coco/R-based parser work w/ UTF-8 encoded files even if there is
no (optional) UTF-8 marker present.

SVN=113931
2008-03-26 16:12:43 -07:00
Robert Griesemer
41d34e2451 - fixed my scripts
SVN=113864
2008-03-26 09:50:20 -07:00
Robert Griesemer
2f5b4d9893 - new directory structure
SVN=113851
2008-03-26 09:28:57 -07:00