summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2008-12-20fix some tests. only 3 remain broken (complit, hilbert, initcomma).Rob Pike9-13/+13
leaving golden.out alone for now. R=ken DELTA=13 (0 added, 0 deleted, 13 changed) OCL=21682 CL=21682
2008-12-19[] and struct in interfaces.Russ Cox2-12/+44
other [] cleanup. convert() is gone. R=r DELTA=352 (144 added, 68 deleted, 140 changed) OCL=21660 CL=21662
2008-12-19chan and map of [] and structRuss Cox1-0/+110
R=r DELTA=192 (145 added, 8 deleted, 39 changed) OCL=21609 CL=21614
2008-12-19malloc bug fixes.Russ Cox2-1/+133
use malloc by default. free stacks. R=r DELTA=424 (333 added, 29 deleted, 62 changed) OCL=21553 CL=21584
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox53-156/+150
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18convert *[] to [].Russ Cox14-24/+24
R=r OCL=21563 CL=21571
2008-12-18arraysKen Thompson3-10/+21
R=r OCL=21564 CL=21564
2008-12-18host and port name lookupRuss Cox2-208/+0
R=r,presotto DELTA=1239 (935 added, 281 deleted, 23 changed) OCL=21041 CL=21539
2008-12-18malloc in runtime (not used by default)Russ Cox3-0/+168
R=r DELTA=1551 (1550 added, 0 deleted, 1 changed) OCL=21404 CL=21538
2008-12-16fix type/name thing, againRuss Cox1-1/+1
R=r DELTA=8 (7 added, 0 deleted, 1 changed) OCL=21379 CL=21379
2008-12-16update tests - 119 is fixedRob Pike2-6/+0
R=gri DELTA=62 (28 added, 34 deleted, 0 changed) OCL=21269 CL=21271
2008-12-15range clause must have = or :=Ken Thompson1-6/+6
:= illegal in for-increment R=r OCL=21204 CL=21204
2008-12-12test updateRob Pike2-6/+1
R=rsc DELTA=16 (5 added, 10 deleted, 1 changed) OCL=21085 CL=21087
2008-12-11bug129Russ Cox2-0/+15
package foo import "syscall" func f() { syscall := 1 } R=ken OCL=21036 CL=21036
2008-12-10another bug cleanup.Rob Pike2-8/+0
R=rsc DELTA=117 (54 added, 62 deleted, 1 changed) OCL=20924 CL=20927
2008-12-10update tests: nil is no longer integer-compatibleRob Pike5-29/+10
R=rsc DELTA=56 (17 added, 32 deleted, 7 changed) OCL=20876 CL=20916
2008-12-09chans and maps of interfacesRuss Cox1-0/+720
R=r DELTA=746 (729 added, 1 deleted, 16 changed) OCL=20858 CL=20858
2008-12-08Tweak comments so that this test passes with gccgo.Ian Lance Taylor1-2/+3
bug126.go:7:7: error: redefinition of 'none' bug126.go:6:7: note: previous definition of 'none' was here R=gri DELTA=3 (1 added, 0 deleted, 2 changed) OCL=20563 CL=20723
2008-12-05range statementKen Thompson1-0/+113
R=r OCL=20667 CL=20667
2008-12-05test pairwise iota assignmentRob Pike1-0/+13
R=rsc DELTA=13 (13 added, 0 deleted, 0 changed) OCL=20638 CL=20641
2008-12-05The DejaGNU testsuite harness used by the gccgo testsuite isIan Lance Taylor1-2/+2
broken if you give it something which matches everything--the .* swallows all the error messages. Recognize some reasonable error text directly. R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=20564 CL=20595
2008-12-04bug128 is fixedRob Pike2-5/+0
R=rsc DELTA=43 (19 added, 24 deleted, 0 changed) OCL=20551 CL=20551
2008-12-03preparation for exec.Russ Cox2-0/+22
* syscall: add syscall.RawSyscall, which doesn't use sys.entersyscall/sys.exitsyscall add syscall.dup2 add syscall.BytePtrPtr add syscall.Rusage, RusagePtr add syscall.F_GETFD, F_SETFD, FD_CLOEXEC * runtime: clean up, correct signal handling. can now survive (continue running after) a signal. R=r DELTA=394 (286 added, 51 deleted, 57 changed) OCL=20351 CL=20369
2008-12-03golden.out driftRuss Cox1-1/+0
TBR=r OCL=20352 CL=20355
2008-12-03- bug: empty switches don't compileRobert Griesemer2-4/+33
R=rsc DELTA=32 (28 added, 3 deleted, 1 changed) OCL=20301 CL=20340
2008-12-026g gives no error on "0 != nil"Russ Cox1-0/+12
R=ken OCL=20289 CL=20289
2008-12-01bug: constants should not be redeclarableRobert Griesemer2-0/+13
R=rsc DELTA=9 (9 added, 0 deleted, 0 changed) OCL=20187 CL=20187
2008-11-25change meaning of $GOMAXPROCS to number of cpus to use,Russ Cox2-4/+2
not number of threads. can still starve all the other threads, but only by looping, not by waiting in a system call. fix darwin syscall.Syscall6 bug. fix chanclient bug. delete $GOMAXPROCS from network tests. add stripped down printf, sys.printhex to runtime. R=r DELTA=355 (217 added, 36 deleted, 102 changed) OCL=20017 CL=20019
2008-11-24compiler catches out of bounds; work aroundRob Pike1-1/+2
R=ken OCL=19943 CL=19943
2008-11-24convert tests.Russ Cox4-860/+0
refine gotest's test selection criteria. R=r DELTA=1590 (745 added, 844 deleted, 1 changed) OCL=19903 CL=19936
2008-11-24replay CL 19916 and CL 19913 now that the build can handle themRuss Cox1-94/+0
TBR=r OCL=19924 CL=19934
2008-11-24Automated g4 rollback of changelist 19916.Russ Cox1-0/+94
*** Reason for rollback *** broke build *** Original change description *** utf8: add InString routines for decoding in strings reflect: add InterfaceValue.Get(), remove Empty strconv: add Quote, CanBackquote fmt: * %q go-quoted " string * %#q go-quoted ` string if possible, " string otherwise * %x hexadecimal string * anywhere a string is okay, *[]byte is okay * flags # 0 - + space * print value inside interface, not interface itself * tests TBR=r OCL=19920 CL=19920
2008-11-24utf8: add InString routines for decoding in stringsRuss Cox1-94/+0
reflect: add InterfaceValue.Get(), remove Empty strconv: add Quote, CanBackquote fmt: * %q go-quoted " string * %#q go-quoted ` string if possible, " string otherwise * %x hexadecimal string * anywhere a string is okay, *[]byte is okay * flags # 0 - + space * print value inside interface, not interface itself * tests R=r DELTA=756 (597 added, 121 deleted, 38 changed) OCL=19888 CL=19916
2008-11-24make bignum_test a testRuss Cox1-500/+0
R=gri DELTA=967 (468 added, 499 deleted, 0 changed) OCL=19906 CL=19912
2008-11-24output of fmt has changed for %gRob Pike1-1/+1
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=19909 CL=19909
2008-11-20don't print (incorrect anyway) line numbers in panic.Rob Pike1-1/+1
R=rsc DELTA=4 (0 added, 2 deleted, 2 changed) OCL=19757 CL=19763
2008-11-19gotestify & gostylify math.Russ Cox1-211/+0
R=r DELTA=682 (275 added, 301 deleted, 106 changed) OCL=19638 CL=19642
2008-11-19- removed uses of vector in favor of array in a few placesRobert Griesemer1-3/+3
- fixed make.bash R=r DELTA=21 (1 added, 3 deleted, 17 changed) OCL=19624 CL=19629
2008-11-19- adjust sort.go to use new naming conventionsRobert Griesemer1-3/+3
R=rsc DELTA=31 (0 added, 0 deleted, 31 changed) OCL=19618 CL=19620
2008-11-18return *os.Error instead of bool from strconv.ato*Russ Cox4-19/+21
R=r DELTA=137 (56 added, 4 deleted, 77 changed) OCL=19505 CL=19522
2008-11-18Add ERROR comment for errmsg to look for.Ian Lance Taylor1-1/+1
R=gri DELTA=1 (0 added, 0 deleted, 1 changed) OCL=19460 CL=19500
2008-11-18import syntax incorrectRobert Griesemer2-2/+20
R=r OCL=19457 CL=19457
2008-11-18update golden.outRuss Cox1-2/+5
R=r OCL=19455 CL=19455
2008-11-18The compiler should reject calling a const as though it were aIan Lance Taylor2-0/+23
function. Also update golden.out. R=r DELTA=18 (18 added, 0 deleted, 0 changed) OCL=19433 CL=19448
2008-11-17The compiler should reject comparisons between ints and nil.Ian Lance Taylor1-0/+12
R=gri DELTA=8 (8 added, 0 deleted, 0 changed) OCL=19434 CL=19436
2008-11-17- new() accepts too many argumentsRobert Griesemer1-0/+11
R=r OCL=19413 CL=19413
2008-11-17- interface methods must have full function typeRobert Griesemer1-0/+25
R=r OCL=19410 CL=19410
2008-11-17fix the easy parts of bug120Russ Cox5-12/+38
R=r,ken DELTA=66 (52 added, 3 deleted, 11 changed) OCL=19386 CL=19389
2008-11-17update golden.out.Russ Cox2-1/+19
fix bug in run that was missing output. make run warn about tests in bugs/ that succeed with no output (should be moved to fixedbugs/). R=r DELTA=21 (18 added, 0 deleted, 3 changed) OCL=19381 CL=19381
2008-11-17correctly rounded floating-point conversionsRuss Cox3-26/+29
in new package strconv. move atoi etc to strconv too. update fmt, etc to use strconv. R=r DELTA=2232 (1691 added, 424 deleted, 117 changed) OCL=19286 CL=19380