go/test
Rémy Oudompheng 2ece2f58ee test: use testlib (another bunch).
Apply sed with:

1s,^// $G $D/$F.go && $L $F.$A && ./$A.out || echo.*,// run,
1s,^// $G $D/$F.go || echo.*,// compile,

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5656099
2012-02-18 22:15:42 +01:00
..
bench test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
bugs gc: undo most of 'fix infinite recursion for embedded interfaces' 2012-01-20 17:14:09 -05:00
chan test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
dwarf test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
fixedbugs test: use testlib (another bunch). 2012-02-18 22:15:42 +01:00
interface test: use testlib (another bunch). 2012-02-18 22:15:42 +01:00
ken test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
safe cmd/gc: suspend safemode during typecheck of inlined bodies. 2012-02-10 22:50:55 +01:00
syntax test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
64bit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
235.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
alias.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
alias1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
append.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
args.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
assign.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
assign1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
bigalg.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
bigmap.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
blank.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
blank1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
chancap.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
char_lit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
char_lit1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
closedchan.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
closure.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
cmp.go cmd/gc: fix comparison of struct with _ field 2012-02-17 14:45:29 -05:00
cmp6.go cmd/gc: fix comparison of struct with _ field 2012-02-17 14:45:29 -05:00
cmplx.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
cmplxdivide.c delete float, complex - code changes 2011-01-19 23:09:00 -05:00
cmplxdivide.go renaming_4: gofix -r everything/but/src/pkg 2011-11-08 15:43:02 -08:00
cmplxdivide1.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
complit.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
complit1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
compos.go test: use testlib (another bunch). 2012-02-18 22:15:42 +01:00
const.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
const1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
const2.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
const3.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
convert.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
convert1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
convert3.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
convlit.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
convlit1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
copy.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
crlf.go gc: implement and test \r in raw strings 2011-12-15 10:47:09 -05:00
ddd.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
ddd1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
ddd2.go gc: add ... T, rework plain ... 2010-02-01 00:25:59 -08:00
ddd3.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
decl.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
declbad.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
defer.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
deferprint.go test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
deferprint.out test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
divide.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
empty.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
env.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
eof.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
eof1.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
errchk errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
escape.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
escape2.go gc: avoid false positives when using scalar struct fields. 2012-01-12 12:08:40 +01:00
escape3.go test: use testlib (first 100) 2012-02-16 23:48:57 -05:00
float_lit.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
floatcmp.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
for.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
func.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
func1.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
func2.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
func3.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
func4.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
func5.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
func6.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
func7.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
func8.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
gc.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
gc1.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
gc2.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
golden.out cmd/gc: suspend safemode during typecheck of inlined bodies. 2012-02-10 22:50:55 +01:00
goprint.go test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
goprint.out test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
goto.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
hashmap.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
helloworld.go test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
helloworld.out test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
if.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
import.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
import1.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
import2.go gc: fix chan <- chan precedence. 2010-01-26 10:40:28 -08:00
import3.go gc: fix chan <- chan precedence. 2010-01-26 10:40:28 -08:00
import4.go gc: fix imported and not used message - show path 2010-03-03 17:23:47 -08:00
import5.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
index.go test: fix NaCl build 2010-09-19 23:28:32 -04:00
indirect.go test: use testlib (another bunch). 2012-02-18 22:15:42 +01:00
indirect1.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
init.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
init1.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
initcomma.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
initialize.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
initializerr.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
initsyscall.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
int_lit.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
intcvt.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
iota.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
label.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
label1.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
linkx.go 5l, 6l, 8l: implement -X flag 2012-02-07 16:46:33 -05:00
literal.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
malloc1.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
mallocfin.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
mallocrand.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
mallocrep.go test: use testlib (fourth 100) 2012-02-16 23:50:37 -05:00
mallocrep1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
map.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
map1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
method.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
method1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
method2.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
method3.go test: use testlib (another bunch). 2012-02-18 22:15:42 +01:00
method4.go test: test method expressions with parameters, and with import 2012-02-03 16:38:59 -08:00
method4a.go test: test method expressions with parameters, and with import 2012-02-03 16:38:59 -08:00
named.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
named1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
nil.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
nilptr.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
nul1.go errchk: allow multiple patterns 2011-08-16 11:14:26 -04:00
parentype.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
peano.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
printbig.go test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
printbig.out test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
range.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
recover.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
recover1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
recover2.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
recover3.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
rename.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
rename1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
reorder.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
reorder2.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
run test/run: honor $TMPDIR 2012-02-18 16:15:12 -05:00
rune.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
runtime.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
shift1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
shift2.go test: use testlib (another bunch). 2012-02-18 22:15:42 +01:00
sieve.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
sigchld.go test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
sigchld.out test: split golden.out into expected output per test 2012-01-18 16:12:24 -08:00
simassign.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
sinit.go gc: make static initialization more static 2011-08-31 07:37:14 -04:00
sizeof.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
solitaire.go cgo, goyacc, go/build, html, http, path, path/filepath, testing/quick, test: use rune 2011-10-25 22:20:02 -07:00
stack.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
string_lit.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
stringrange.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
struct0.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
switch.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
switch1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
switch3.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
test0.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
testlib test: add testlib 2012-02-16 23:48:24 -05:00
turing.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
typeswitch.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
typeswitch1.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
typeswitch2.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
typeswitch3.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
undef.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
utf.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
varerr.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00
varinit.go test: use testlib (another bunch). 2012-02-18 22:15:42 +01:00
zerodivide.go test: use testlib (final 61) 2012-02-16 23:51:04 -05:00