summaryrefslogtreecommitdiff
path: root/test/func8.go
Commit message (Collapse)AuthorAgeFilesLines
* test: ensure all failing tests exit nonzero.Alan Donovan2013-02-121-2/+2
| | | | | | | | | | Previously merely printing an error would cause the golden file comparison (in 'bash run') to fail, but that is no longer the case with the new run.go driver. R=iant CC=golang-dev https://codereview.appspot.com/7310087
* test: explanatory comments [c-g]*Rob Pike2012-02-191-0/+2
| | | | | | R=golang-dev, bradfitz CC=golang-dev http://codereview.appspot.com/5656103
* test: use testlib (fourth 100)Russ Cox2012-02-161-1/+1
| | | | | | | | | | | X ,s;^// \$G (\$D/)?\$F\.go *$;// compile;g X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A *$;// build;g X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A && \./\$A\.out *$;// run;g X ,s;^// errchk \$G( -e)? (\$D/)?\$F\.go *$;// errorcheck;g R=golang-dev, bradfitz CC=golang-dev http://codereview.appspot.com/5673079
* gc: fix order of evaluationRuss Cox2012-01-251-0/+47
Pulling function calls out to happen before the expression being evaluated was causing illegal reorderings even without inlining; with inlining it got worse. This CL adds a separate ordering pass to move things with a fixed order out of expressions and into the statement sequence, where they will not be reordered by walk. Replaces lvd's CL 5534079. Fixes issue 2740. R=lvd CC=golang-dev http://codereview.appspot.com/5569062