aboutsummaryrefslogtreecommitdiff
path: root/test/ken
AgeCommit message (Collapse)Author
2021-12-05test/ken/slicearray.go: correct type width in commentIan Lance Taylor
The type was changed in https://golang.org/cl/3991043 but the comment wasn't updated. Change-Id: I7ba3f625c732e5e801675ffc5d4a28e1d310faa3 Reviewed-on: https://go-review.googlesource.com/c/go/+/369374 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Rob Pike <r@golang.org>
2019-09-08all: fix typosAinar Garipov
Use the following (suboptimal) script to obtain a list of possible typos: #!/usr/bin/env sh set -x git ls-files |\ grep -e '\.\(c\|cc\|go\)$' |\ xargs -n 1\ awk\ '/\/\// { gsub(/.*\/\//, ""); print; } /\/\*/, /\*\// { gsub(/.*\/\*/, ""); gsub(/\*\/.*/, ""); }' |\ hunspell -d en_US -l |\ grep '^[[:upper:]]\{0,1\}[[:lower:]]\{1,\}$' |\ grep -v -e '^.\{1,4\}$' -e '^.\{16,\}$' |\ sort -f |\ uniq -c |\ awk '$1 == 1 { print $2; }' Then, go through the results manually and fix the most obvious typos in the non-vendored code. Change-Id: I3cb5830a176850e1a0584b8a40b47bde7b260eae Reviewed-on: https://go-review.googlesource.com/c/go/+/193848 Reviewed-by: Robert Griesemer <gri@golang.org>
2018-05-31test: remove rundircmpout and cmpout actionsYury Smolsky
This CL removes the rundircmpout action completely because it is not used anywhere. The run case already looks for output files. Rename the cmpout action mentioned in tests to the run action and remove "cmpout" from run.go. Change-Id: I835ceb70082927f8e9360e0ea0ba74f296363ab3 Reviewed-on: https://go-review.googlesource.com/115575 Run-TryBot: Yury Smolsky <yury@smolsky.by> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-04-03all: fix spelling mistakesEric Engestrom
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Change-Id: I91873aaebf79bdf1c00d38aacc1a1fb8d79656a7 Reviewed-on: https://go-review.googlesource.com/21433 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
2012-02-25go/test/chan1.go: fix typoRob Pike
Found by Lucio De Re R=golang-dev, gri CC=golang-dev https://golang.org/cl/5694071
2012-02-24test: document ken/*.goRob Pike
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5694065
2012-02-24test: add cmpout to testlibBrad Fitzpatrick
R=golang-dev, r CC=golang-dev https://golang.org/cl/5699060
2012-02-16test: use testlib (fourth 100)Russ Cox
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 https://golang.org/cl/5673079
2012-02-03test: test slice beyond lenIan Lance Taylor
When slicing a slice, the bounds may be > len as long as they are <= cap. Interestingly, gccgo got that wrong and still passed the testsuite and all the library tests. R=golang-dev, rsc, iant CC=golang-dev https://golang.org/cl/5622053
2012-01-18test: split golden.out into expected output per testIan Lance Taylor
This will permit gccgo to check test output. R=golang-dev, r CC=golang-dev https://golang.org/cl/5554056
2012-01-18test: change several tests to not printIan Lance Taylor
This will make these tests more meaningful for gccgo, which runs tests in parallel and has no equivalent to golden.out. Remove ken/simpprint.go since it duplicates helloworld.go. R=golang-dev, r CC=golang-dev https://golang.org/cl/5536058
2012-01-18test: gofmt a few testsIan Lance Taylor
I'm planning to change these tests, but the gofmt changes are fairly extensive, so I'm separating the gofmt changes from the substantive changes. R=golang-dev, rsc, r CC=golang-dev https://golang.org/cl/5557052
2011-11-08renaming_4: gofix -r everything/but/src/pkgRob Pike
R=rsc CC=golang-dev https://golang.org/cl/5338043
2011-10-25cgo, goyacc, go/build, html, http, path, path/filepath, testing/quick, test: ↵Russ Cox
use rune Nothing terribly interesting here. R=golang-dev, bradfitz, gri, r CC=golang-dev https://golang.org/cl/5300043
2011-09-19gc: handle complex CONVNOPRuss Cox
Fixes #2256. R=ken2 CC=golang-dev https://golang.org/cl/5044047
2011-04-25fix tree for reflect renameRuss Cox
R=golang-dev, r CC=golang-dev https://golang.org/cl/4435067
2011-04-08update go tree for reflect changesRuss Cox
R=golang-dev, r CC=golang-dev https://golang.org/cl/4353043
2011-02-22test: do not depend on implicit if conditionRuss Cox
Deleted test/ken/robif.go because test/if.go is the same program modulo formatting. R=golang-dev, gri, r2 CC=golang-dev https://golang.org/cl/4186068
2011-01-19delete float, complex - code changesRuss Cox
also: cmplx -> complex float64(1.0) -> 1.0 float64(1) -> 1.0 R=gri, r, gri1, r2 CC=golang-dev https://golang.org/cl/3991043
2010-11-01test/ken/convert.go: add conversion torture testRob Pike
(written by ken) R=ken2 CC=golang-dev https://golang.org/cl/2823042
2010-09-08test new slicesRuss Cox
R=r CC=golang-dev https://golang.org/cl/2128047
2010-08-31test: don't assign address of array to slice.Ian Lance Taylor
R=rsc CC=golang-dev https://golang.org/cl/2084042
2010-07-20more soft float support. passes several basic testsKai Backman
but with less precision than hardware counterparts. fixed a number of tests to output BUG when they failed. changed the runner to distinghuish between output and output containing ^BUG R=rsc CC=dho, golang-dev https://golang.org/cl/1778041
2010-06-23gc: fix crash for nested complex divisionRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/1720043
2010-06-21reflect: add Type.Bits method, add tags to prohibit conversionsRuss Cox
gob: substitute slice for map R=r CC=golang-dev https://golang.org/cl/1699045
2010-06-08misc cleanup: gofmt + &x -> x[0:] conversionRuss Cox
R=gri CC=golang-dev https://golang.org/cl/1620042
2010-03-30single argument panicRuss Cox
note that sortmain.go has been run through hg gofmt; only the formatting of the day initializers changed. i'm happy to revert that formatting if you'd prefer. stop on error in doc/progs/run R=r CC=golang-dev https://golang.org/cl/850041
2010-03-24delete all uses of panicln by rewriting them using panic or,Rob Pike
in the tests, println+panic. gofmt some tests too. R=rsc CC=golang-dev https://golang.org/cl/741041
2010-03-091. decommit complex(float) conversionKen Thompson
2. add complex algorithm for map/chan 3. test for use of complex in array, slice, field, chan, map, field, pointer. R=rsc CC=golang-dev https://golang.org/cl/384041
2010-03-09identical complex implementationKen Thompson
for 6g and 8g. can also be used for 5g. 5g is still a stub. R=rsc CC=golang-dev https://golang.org/cl/362041
2010-03-056g complex type usableKen Thompson
8g and 5g have stubs to ignore complex R=rsc CC=golang-dev https://golang.org/cl/257042
2010-03-02test: fix 386 build (missing complex)Russ Cox
R=ken2 CC=golang-dev https://golang.org/cl/223106
2010-03-02more on type complex.Ken Thompson
getting close. R=rsc CC=golang-dev https://golang.org/cl/224105
2010-01-19Add explicit locking.Ian Lance Taylor
Since gcco runs goroutines in independent threads, it needs locking for the global variables. This shows up when I use ordinary increments rather than locked increments for var++. R=ken2, ken3 CC=golang-dev https://golang.org/cl/190074
2009-12-10trailing comma's are not accepted with current syntaxRobert Griesemer
R=rsc, ken2 https://golang.org/cl/174047
2009-12-10make test/ken safe for optional semisRobert Griesemer
R=rsc, ken2, ken3 https://golang.org/cl/174042
2009-11-20x[y:] for stringsRuss Cox
R=ken2 https://golang.org/cl/157114
2009-11-20x[lo:] - gc and runtime.Russ Cox
* add runtime sliceslice1 for x[lo:] * remove runtime arraytoslice, rewriting &arr into arr[0:len(arr)]. * port cgen_inline into 8g, 5g. * use native memmove in maps R=ken2 https://golang.org/cl/157106
2009-10-13write stack traces and panics to stderrRob Pike
R=rsc DELTA=31 (5 added, 3 deleted, 23 changed) OCL=35700 CL=35700
2009-10-09time tests; sort -nr times.out | sed 10q is illuminating.Russ Cox
cut the slowest tests down from a few seconds to under half a second. R=r DELTA=21 (6 added, 1 deleted, 14 changed) OCL=35509 CL=35519
2009-09-28disallow interface { x, y() }Russ Cox
R=ken OCL=35042 CL=35044
2009-09-14fix "declared and not used" in tests;Russ Cox
also template/template.go, missed last time. R=r DELTA=116 (61 added, 10 deleted, 45 changed) OCL=34620 CL=34622
2009-09-08compound literal testKen Thompson
R=rsc OCL=34453 CL=34455
2009-08-28arraytoslice and some cleanupKen Thompson
R=rsc OCL=34058 CL=34058
2009-08-28sliceslice inlineKen Thompson
R=rsc OCL=34041 CL=34041
2009-08-27inline slicearrayKen Thompson
R=rsc OCL=33974 CL=33974
2009-08-21Enable these tests. Fix divconst.go and modconst.go toIan Lance Taylor
compile with the current compiler. Adjust expected error message in method1.go to match 6g output. R=rsc DELTA=9 (2 added, 5 deleted, 2 changed) OCL=33674 CL=33682
2009-08-17fix up some irregular indentationRob Pike
R=rsc OCL=33382 CL=33391
2009-08-12delete forward type declarationsRuss Cox
R=r DELTA=163 (1 added, 149 deleted, 13 changed) OCL=33106 CL=33111
2009-08-12convert non-pkg go files to whole-package compilation.Russ Cox
mostly removing forward declarations. R=r DELTA=138 (2 added, 127 deleted, 9 changed) OCL=33068 CL=33099