go/test/fixedbugs
Rob Pike c50e4f5e2f testing: allow benchmarks to print and fail
Refactors the benchmarks and test code.
Now benchmarks can call Errorf, Fail, etc.,
and the runner will act accordingly.

Because functionality has been folded into an
embedded type, a number of methods' docs
no longer appear in godoc output. A fix is
underway; if it doesn't happen fast enough,
I'll add wrapper methods to restore the
documentation.

R=bradfitz, adg, rsc
CC=golang-dev
https://golang.org/cl/5492060
2011-12-20 09:51:39 -08:00
..
bug083.dir
bug088.dir
bug106.dir
bug133.dir
bug160.dir
bug191.dir
bug222.dir
bug248.dir gc: detect type switch variable not used cases. 2011-11-04 17:03:50 +01:00
bug282.dir gc: fix shift/reduce conflict in go.y export syntax 2010-05-24 16:55:23 -07:00
bug302.dir gopack: handle long lines in export data 2010-08-11 22:17:20 -07:00
bug306.dir gc: bug306 2010-09-13 15:42:14 -04:00
bug313.dir gc: skip undefined symbols in import . 2010-12-07 16:16:01 -05:00
bug322.dir gc: relax assignability of method receivers 2011-05-24 19:48:19 -04:00
bug324.dir gc: correct handling of unexported method names in embedded interfaces 2011-04-21 08:14:50 -04:00
bug335.dir gc: fix import width bug 2011-04-25 12:08:48 -04:00
bug345.dir gc: avoid package name ambiguity in error messages 2011-06-27 18:44:30 -04:00
bug367.dir gc: 0 expected bugs 2011-12-09 14:58:28 -05:00
bug369.dir 5g, 6g, 8g: registerize variables again 2011-10-03 17:46:36 -04:00
bug377.dir gc: Preserve original blank name for .anon substitution on out params. 2011-11-09 11:27:27 +01:00
bug382.dir gc: fix use of stackallocated AST node in generation of static initialisation code. 2011-12-13 09:09:10 +01:00
bug000.go
bug002.go
bug003.go
bug004.go
bug005.go
bug006.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
bug007.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
bug008.go
bug009.go
bug010.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
bug011.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
bug012.go
bug013.go
bug014.go
bug015.go
bug016.go test: match gccgo error messages for bug016.go. 2011-03-25 13:31:30 -07:00
bug017.go
bug020.go
bug021.go
bug022.go
bug023.go
bug024.go
bug026.go
bug027.go
bug028.go
bug030.go
bug031.go
bug035.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
bug036.go
bug037.go
bug038.go
bug039.go
bug040.go
bug045.go test: don't assign address of array to slice. 2010-08-31 07:34:01 -07:00
bug046.go
bug047.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
bug048.go
bug049.go
bug050.go
bug051.go
bug052.go
bug053.go
bug054.go
bug055.go remove unused labels 2011-03-15 14:05:07 -04:00
bug056.go
bug057.go
bug058.go
bug059.go test: don't assign address of array to slice. 2010-08-31 07:34:01 -07:00
bug060.go
bug061.go
bug062.go
bug063.go
bug064.go
bug065.go
bug066.go
bug067.go
bug068.go
bug069.go test: enable tests using v, ok := <-ch syntax 2011-03-22 10:32:43 -07:00
bug070.go
bug071.go
bug072.go
bug073.go
bug074.go
bug075.go
bug076.go remove unused labels 2011-03-15 14:05:07 -04:00
bug077.go remove unused labels 2011-03-15 14:05:07 -04:00
bug078.go
bug080.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
bug081.go test: match gccgo error messages for bug081.go. 2011-03-25 15:28:53 -07:00
bug082.go
bug083.go
bug084.go
bug085.go
bug086.go
bug087.go
bug088.go
bug089.go
bug090.go
bug091.go remove unused labels 2011-03-15 14:05:07 -04:00
bug092.go
bug093.go test: silence/coalesce some tests 2011-09-26 19:35:21 -04:00
bug094.go
bug096.go
bug097.go
bug098.go
bug099.go
bug101.go
bug102.go misc cleanup: gofmt + &x -> x[0:] conversion 2010-06-08 17:51:57 -07:00
bug103.go
bug104.go
bug106.go
bug107.go test: make bug107 os.Error-proof 2011-10-31 17:50:38 -04:00
bug108.go
bug109.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
bug110.go
bug111.go
bug112.go
bug113.go test: silence/coalesce some tests 2011-09-26 19:35:21 -04:00
bug114.go
bug115.go
bug116.go
bug117.go
bug118.go
bug119.go
bug120.go use new strconv API 2011-12-05 15:48:46 -05:00
bug121.go
bug122.go
bug123.go
bug126.go
bug127.go
bug128.go
bug129.go
bug130.go
bug131.go
bug132.go
bug133.go
bug135.go
bug136.go
bug137.go remove unused labels 2011-03-15 14:05:07 -04:00
bug139.go
bug140.go respect goto restrictions 2011-06-17 06:07:13 -04:00
bug141.go gc: detect type switch variable not used cases. 2011-11-04 17:03:50 +01:00
bug142.go
bug143.go
bug144.go
bug145.go
bug146.go test: don't assign address of array to slice. 2010-08-31 07:34:01 -07:00
bug147.go
bug148.go test: silence/coalesce some tests 2011-09-26 19:35:21 -04:00
bug149.go
bug150.go
bug151.go
bug152.go
bug154.go
bug155.go
bug156.go
bug157.go
bug158.go
bug159.go
bug160.go
bug161.go
bug163.go
bug164.go
bug165.go
bug167.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
bug168.go
bug169.go
bug170.go
bug171.go
bug172.go
bug173.go
bug174.go
bug175.go
bug176.go
bug177.go fix tree for reflect rename 2011-04-25 13:39:36 -04:00
bug178.go respect goto restrictions 2011-06-17 06:07:13 -04:00
bug179.go remove unused labels 2011-03-15 14:05:07 -04:00
bug180.go
bug181.go
bug182.go
bug183.go
bug184.go
bug185.go
bug186.go
bug187.go
bug188.go
bug189.go
bug190.go
bug191.go
bug192.go
bug193.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
bug194.go
bug195.go test: gccgo and gc print the error on different lines. 2010-08-31 14:12:23 -07:00
bug196.go test: enable tests using v, ok := <-ch syntax 2011-03-22 10:32:43 -07:00
bug197.go
bug198.go
bug199.go
bug200.go gc: detect type switch variable not used cases. 2011-11-04 17:03:50 +01:00
bug201.go
bug202.go
bug203.go
bug204.go cgo, goyacc, go/build, html, http, path, path/filepath, testing/quick, test: use rune 2011-10-25 22:20:02 -07:00
bug205.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
bug206.go go/ast: use token.Pos instead of token.Position; adjust all dependent code 2010-12-06 14:23:18 -08:00
bug207.go
bug208.go gc: handle use of builtin function outside function call 2010-05-20 22:57:08 -07:00
bug209.go
bug211.go
bug212.go
bug213.go gc: detect type switch variable not used cases. 2011-11-04 17:03:50 +01:00
bug214.go
bug215.go
bug216.go
bug217.go
bug218.go
bug219.go test: do not depend on implicit if condition 2011-02-22 18:23:14 -05:00
bug221.go
bug222.go
bug223.go
bug224.go
bug225.go
bug227.go
bug228.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
bug229.go testing: allow benchmarks to print and fail 2011-12-20 09:51:39 -08:00
bug230.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
bug231.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
bug232.go remove uses of ... from tree, add one test 2010-06-14 11:23:11 -07:00
bug233.go
bug234.go test: enable tests using v, ok := <-ch syntax 2011-03-22 10:32:43 -07:00
bug235.go
bug236.go
bug237.go
bug238.go gc: implement goto restriction 2011-06-17 15:25:05 -04:00
bug239.go
bug240.go
bug241.go
bug242.go gc: remove m[k] = x, false 2011-11-11 16:48:25 -05:00
bug243.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
bug244.go
bug245.go
bug246.go
bug247.go
bug248.go
bug249.go
bug250.go
bug251.go gc: Clean up dostruct/stotype, detect broken fields and propagate up to structs and functions to supress spurious errors. 2011-11-07 21:35:13 +01:00
bug252.go gc: remove interim ... error which rejects valid code. 2011-03-25 18:31:55 -07:00
bug253.go
bug254.go
bug255.go test: Recognize gccgo error messages. 2010-08-31 17:38:11 -07:00
bug256.go
bug257.go Add a []byte argument to hash.Hash to allow an allocation to be saved. 2011-12-01 12:35:37 -05:00
bug258.go
bug259.go
bug260.go use new strconv API 2011-12-05 15:48:46 -05:00
bug261.go
bug262.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
bug263.go
bug264.go gc: bug264 2010-05-03 17:51:48 -07:00
bug265.go
bug266.go
bug267.go gc: bug267 2010-05-03 15:29:59 -07:00
bug269.go gc: never include ( ) on singleton func return type 2010-04-29 16:07:14 -07:00
bug271.go gc: bug271 2010-04-30 13:27:08 -07:00
bug272.go 8g: bug272 2010-04-30 14:04:34 -07:00
bug273.go gc: zero-width struct, zero-length array fixes 2011-07-27 16:47:45 -04:00
bug274.go gc: line number + type checking nits 2011-07-28 12:31:16 -04:00
bug275.go clean up bug 275 2010-05-20 21:01:59 -07:00
bug276.go issue 789: keep test case 2010-05-21 14:53:54 -07:00
bug277.go gc: bug277 - new conversion syntax 2010-05-24 15:25:30 -07:00
bug278.go test: Recognize gccgo error messages. 2010-09-01 21:04:57 -07:00
bug279.go gc: fix unsafe.Sizeof on ideal constants 2010-05-24 14:18:15 -07:00
bug280.go gc: bug280 2010-05-24 15:25:09 -07:00
bug281.go gc: bug281 - bad overlap in stack copy 2010-05-24 16:54:24 -07:00
bug282.go gc: fix shift/reduce conflict in go.y export syntax 2010-05-24 16:55:23 -07:00
bug283.go 8g: out of register bug 2010-05-24 17:22:51 -07:00
bug284.go test: Match gccgo error messages. 2010-09-01 21:05:31 -07:00
bug285.go gc: remove func, map compare 2011-11-13 22:58:08 -05:00
bug286.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
bug287.go 8g: out of register bug fix 2010-06-30 20:45:50 -07:00
bug288.go 8g: out of register bug fix 2010-06-30 20:45:50 -07:00
bug289.go Test case that gccgo fails (crashes rather than printing error). 2010-07-12 06:34:36 -07:00
bug290.go gc: fix handling of types inside function bodies 2010-07-15 14:25:50 -07:00
bug291.go gc: bug291 2010-07-15 15:17:42 -07:00
bug292.go gc: bug292 2010-07-15 16:13:47 -07:00
bug293.go gc: bug293 2010-07-15 16:14:06 -07:00
bug294.go gc: bug294 2010-07-15 16:42:32 -07:00
bug295.go gc: import dot shadowing bug 2010-07-26 14:21:39 -07:00
bug296.go test: Actually run bug296. 2010-09-08 13:56:49 -07:00
bug297.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
bug298.go gc: line number + type checking nits 2011-07-28 12:31:16 -04:00
bug299.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
bug300.go gc: bug299, bug300 2010-08-03 00:53:32 -07:00
bug301.go gc: bug301 2010-08-03 01:07:40 -07:00
bug302.go gopack: handle long lines in export data 2010-08-11 22:17:20 -07:00
bug303.go 6g, 8g: handle slice by sub-word-sized index (uint8, int8, uint16, int16) 2010-08-11 22:27:47 -07:00
bug304.go test: Add testcase which crashes gccgo. 2010-08-24 13:08:05 -07:00
bug305.go fix build 2010-09-15 17:00:00 -07:00
bug306.go gc: bug306 2010-09-13 15:42:14 -04:00
bug307.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
bug308.go gc: bug308 2010-09-30 15:05:01 -04:00
bug309.go gc: detect type switch variable not used cases. 2011-11-04 17:03:50 +01:00
bug311.go runtime: correct iteration of large map values 2010-10-06 11:54:41 -04:00
bug312.go gc: select receive with implicit conversion 2010-10-20 16:38:25 -04:00
bug313.go gc: skip undefined symbols in import . 2010-12-07 16:16:01 -05:00
bug314.go gc: fix method offsets of anonymous interfaces 2010-12-07 12:56:26 -05:00
bug315.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
bug316.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
bug317.go gc: fix &^= 2011-01-06 11:21:18 -05:00
bug318.go gc: fix typed constant declarations 2011-01-18 11:24:49 -05:00
bug319.go 6g: fix uint64(uintptr(unsafe.Pointer(&x))) 2011-01-20 12:50:35 -05:00
bug320.go gc: select receive bug fix 2011-02-02 18:34:09 -05:00
bug321.go gc: correct rounding of denormal constants 2011-02-02 22:36:54 -05:00
bug322.go gc: relax assignability of method receivers 2011-05-24 19:48:19 -04:00
bug323.go test: match gccgo error messages for bug323.go. 2011-03-27 20:38:28 -07:00
bug324.go gc: correct handling of unexported method names in embedded interfaces 2011-04-21 08:14:50 -04:00
bug325.go test: match gccgo error messages for bug325.go. 2011-03-27 12:10:50 -07:00
bug326.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
bug327.go bug327: document what's being tested 2011-04-08 13:42:20 -04:00
bug328.go gc: print of unsafe.Pointer 2011-04-15 16:16:20 -04:00
bug329.go gc: fix complex move again 2011-04-18 13:22:31 -04:00
bug330.go test: match gccgo error messages for bug330.go. 2011-09-16 18:28:57 -07:00
bug331.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
bug332.go gc: fix line number at EOF 2011-04-23 10:54:05 -04:00
bug333.go gc: fix conversion of user-defined string type to []byte 2011-04-23 10:55:32 -04:00
bug334.go gc: allow complex types to be receiver types 2011-04-25 12:02:54 -04:00
bug335.go gc: fix import width bug 2011-04-25 12:08:48 -04:00
bug336.go gc: correctly handle fields of pointer type to recursive forward references 2011-04-28 00:13:49 -04:00
bug337.go test: match gccgo error message for bug337.go 2011-09-20 09:31:07 -07:00
bug338.go gc: fix unsafe.Sizeof 2011-05-10 17:00:15 -04:00
bug339.go gc: fix unsafe.Sizeof 2011-05-10 17:00:15 -04:00
bug340.go gc: Better typechecks and errors in switches. 2011-11-09 10:58:53 +01:00
bug341.go 8g: fix conversion from float to uint64 2011-05-16 22:14:56 -04:00
bug342.go gc: check parameter declarations in interface fields 2011-05-31 13:41:32 -04:00
bug343.go gc: fix m[x], _ = y.(T) 2011-05-31 15:52:04 -04:00
bug344.go test: match gccgo error messages for goto.go and bug344.go 2011-09-20 14:45:54 -07:00
bug345.go gc: avoid package name ambiguity in error messages 2011-06-27 18:44:30 -04:00
bug346.go gc: fix closure bug 2011-07-14 18:13:39 +02:00
bug347.go gc: fix select line number 2011-07-26 00:52:17 -04:00
bug348.go gc, runtime: fix range+panic line number bugs 2011-07-26 00:52:46 -04:00
bug349.go test: match gccgo error messages for bug349.go 2011-09-20 14:47:48 -07:00
bug350.go test: match gccgo error messages 2011-09-23 21:23:40 -07:00
bug351.go test: match gccgo error messages 2011-09-23 21:23:40 -07:00
bug352.go gc: zero-width struct, zero-length array fixes 2011-07-27 16:47:45 -04:00
bug353.go test: match gccgo error messages 2011-09-20 16:47:17 -07:00
bug354.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
bug355.go gc: top-level closure bug 2011-07-27 19:31:11 -04:00
bug356.go 5g, 6g, 8g: shift, opt fixes 2011-07-28 18:22:12 -04:00
bug357.go test: match gccgo error messages 2011-09-20 16:47:17 -07:00
bug358.go renaming_1: hand-edited files for go 1 renaming 2011-11-08 15:38:47 -08:00
bug361.go gc: another width test 2011-07-28 12:32:43 -04:00
bug362.go test: match gccgo error messages 2011-09-20 16:47:17 -07:00
bug363.go test: match gccgo error messages 2011-09-21 17:25:48 -07:00
bug364.go 5g: defer vs optimizer bug 2011-07-28 16:28:23 -04:00
bug365.go test: error-related fixes 2011-10-27 19:41:39 -07:00
bug366.go gc: fix div bug 2011-08-30 08:47:28 -04:00
bug367.go gc: 0 expected bugs 2011-12-09 14:58:28 -05:00
bug368.go 5g: fix -f() 2011-09-29 12:09:46 -04:00
bug369.go Fix build, disabling flaky registerization test. 2011-10-03 17:25:55 -07:00
bug370.go runtime: fix spurious deadlock reporting 2011-10-06 18:10:14 +03:00
bug371.go gc: helpful message instead of internal error on method call on pointer to pointer. 2011-11-02 17:18:53 +01:00
bug372.go gc: Don't pollute the xmethod list with non-methods. 2011-11-03 17:51:15 +01:00
bug373.go gc: detect type switch variable not used cases. 2011-11-04 17:03:50 +01:00
bug374.go gc: Clean up dostruct/stotype, detect broken fields and propagate up to structs and functions to supress spurious errors. 2011-11-07 21:35:13 +01:00
bug375.go gc: Better typechecks and errors in switches. 2011-11-09 10:58:53 +01:00
bug376.go gc: better error for non-calling use of unsafe builtins. 2011-11-09 18:30:54 +01:00
bug377.go gofmt: do not stop test.sh after 1 error 2011-11-16 18:44:21 -05:00
bug378.go gc: fix copying of types 2011-11-28 11:52:16 -05:00
bug379.go gc: keep pointer to original node in constant rewrites. 2011-12-07 16:18:50 -05:00
bug380.go gc: fix spurious typecheck loop in &composite literal 2011-12-07 15:48:55 -05:00
bug381.go gc: keep pointer to original node in constant rewrites. 2011-12-07 16:18:50 -05:00
bug382.go gc: fix use of stackallocated AST node in generation of static initialisation code. 2011-12-13 09:09:10 +01:00
bug383.go gc: Use %#F in error messages instead of %F. 2011-12-14 08:22:36 +01:00
bug384.go gc: suppress non-root cause message for bad receivers. 2011-12-14 08:21:37 +01:00
bug386.go gc: use inferred type rather than original one when reporting non-assignability. 2011-12-14 17:34:35 +01:00
bug387.go gc: add forgotten typecheck in a lonely corner of sinit 2011-12-14 15:54:10 +01:00
bug389.go gc: omit argument names from function types in error messages 2011-12-15 17:38:47 +01:00
bug1515.go gc: make string const comparison unsigned 2011-02-16 17:57:15 -05:00