1
0
mirror of https://github.com/golang/go synced 2024-11-24 13:50:13 -07:00
go/test
Gustavo Niemeyer daffc2d2ef gc: fix init of packages named main
This change removes the special case which existed
for handling the initalization of the main package,
so that other modules named 'main' get properly
initialized when imported.

Note that gotest of main packages will break in most
cases without this.

R=rsc
CC=golang-dev
https://golang.org/cl/4190050
2011-03-02 16:18:17 -05:00
..
bench build: simplify clean.bash 2011-03-02 14:57:47 -05:00
bugs bug324.go: test case for issue 1550 2011-02-24 19:29:25 -08:00
chan template: reverse order of arguments to Execute 2011-02-09 14:23:01 -08:00
fixedbugs gc: bug325 / issue 1566 2011-02-28 17:16:44 -05:00
garbage log: rename Exit* to Fatal* 2011-02-01 12:47:35 -08:00
interface delete float, complex - code changes 2011-01-19 23:09:00 -05:00
ken test: do not depend on implicit if condition 2011-02-22 18:23:14 -05:00
nilptr remove nacl 2010-12-15 11:49:23 -05:00
syntax gc: require if condition 2011-02-22 18:23:29 -05:00
64bit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
235.go
append.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
args.go
assign1.go test: Match gccgo error messages. 2010-09-10 19:12:10 -07:00
assign.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
bigalg.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
bigmap.go
blank1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
blank.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
chancap.go
char_lit1.go test: Match gccgo error messages. 2010-08-31 11:43:52 -07:00
char_lit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
closedchan.go replace non-blocking send, receive syntax with select 2011-01-31 18:36:28 -05:00
closure.go gc: issue 1231 2010-12-13 16:51:19 -05:00
cmp1.go gc: implement new comparison rule 2010-09-13 15:42:47 -04:00
cmp2.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
cmp3.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
cmp4.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
cmp5.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
cmp6.go gc: clearer error for struct == struct 2011-01-21 18:15:59 -05:00
cmplx.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
cmplxdivide1.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
cmplxdivide.c delete float, complex - code changes 2011-01-19 23:09:00 -05:00
cmplxdivide.go more soft float support. passes several basic tests 2010-07-20 15:53:16 +03:00
complit.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
compos.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
const1.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
const2.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
const3.go gc: another shift bug 2010-12-13 13:42:51 -05:00
const.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
convert3.go test: don't assign address of array to slice. 2010-08-31 07:34:01 -07:00
convert.go
convlit1.go
convlit.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
copy.go test copy([]byte, string) 2010-10-26 08:36:23 -07:00
ddd1.go gc: ... changes 2010-09-24 11:55:30 -04:00
ddd2.go
ddd3.go
ddd.go gc: ... bug 2010-10-06 11:12:30 -04:00
decl.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
declbad.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
defer.go ... changes 2010-09-24 11:55:48 -04:00
deferprint.go
empty.go
env.go remove nacl 2010-12-15 11:49:23 -05:00
eof1.go gc: line comments may end in EOF 2010-11-04 16:04:04 -04:00
eof.go gc: insert semicolon at EOF if needed 2010-09-28 10:35:02 -04:00
errchk replace non-blocking send, receive syntax with select 2011-01-31 18:36:28 -05:00
escape.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
float_lit.go arm: enable all tests 2010-10-25 21:25:13 -07:00
floatcmp.go more soft float support. passes several basic tests 2010-07-20 15:53:16 +03:00
for.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
func1.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
func2.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
func3.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
func4.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
func5.go
func.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
gc1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
gc.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
golden.out bug324.go: test case for issue 1550 2011-02-24 19:29:25 -08:00
hashmap.go gc, spec, tests: no auto-indirect of pointer to interface value 2010-09-30 14:59:41 -04:00
helloworld.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
if.go test: do not depend on implicit if condition 2011-02-22 18:23:14 -05:00
import1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
import2.go
import3.go
import4.go
import.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
index.go test: fix NaCl build 2010-09-19 23:28:32 -04:00
indirect1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
indirect.go
init.go gc: fix init of packages named main 2011-03-02 16:18:17 -05:00
initcomma.go
initialize.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
initializerr.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
initsyscall.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
int_lit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
intcvt.go
iota.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
literal.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
malloc1.go
mallocfin.go
mallocrand.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
mallocrep1.go
mallocrep.go test: Run garbage collector before testing malloc numbers. 2010-09-10 15:54:16 -07:00
map.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
method1.go test: s/float/float64/ 2011-01-21 08:37:58 -08:00
method2.go gc, spec, tests: no auto-indirect of pointer to interface value 2010-09-30 14:59:41 -04:00
method3.go
method.go gc, spec, tests: no auto-indirect of pointer to interface value 2010-09-30 14:59:41 -04:00
named1.go replace non-blocking send, receive syntax with select 2011-01-31 18:36:28 -05:00
named.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
nil.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
nul1.go remove nacl 2010-12-15 11:49:23 -05:00
parentype.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
peano.go test/peano: use directly recursive type def 2010-08-06 15:07:54 -07:00
printbig.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
range.go gc: implement new len spec, range bug fix, optimization 2010-07-01 18:04:25 -07:00
recover1.go
recover2.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
recover3.go remove nacl 2010-12-15 11:49:23 -05:00
recover.go
rename1.go
rename.go
run runtime: new allocation strategy for amd64 2011-02-09 14:38:33 -05:00
runtime.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
sieve.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
sigchld.go remove nacl 2010-12-15 11:49:23 -05:00
simassign.go
sinit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
solitaire.go solitaire: an exercise in backtracking and string conversions 2010-09-03 10:52:45 -07:00
stack.go 5l, 8l: pass stack frame size to morestack when needed 2011-02-01 18:34:41 -05:00
string_lit.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
stringrange.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
switch1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
switch.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
test0.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
turing.go test/turing: refactor 2010-09-04 10:40:00 +10:00
typeswitch1.go
typeswitch2.go
typeswitch.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
undef.go test: Match gccgo error messages. 2010-09-10 12:44:37 -07:00
utf.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
varerr.go test: Match gccgo error messages. 2010-09-10 12:45:46 -07:00
varinit.go
vectors.go
zerodivide.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00