You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker
7ee447c011
|
4 months ago | |
---|---|---|
.. | ||
alias3.dir | 4 months ago | |
bench | 4 months ago | |
chan | 4 months ago | |
closure3.dir | 4 months ago | |
codegen | 4 months ago | |
ddd2.dir | 4 months ago | |
dwarf | 4 months ago | |
fixedbugs | 4 months ago | |
import2.dir | 4 months ago | |
import4.dir | 4 months ago | |
interface | 4 months ago | |
intrinsic.dir | 4 months ago | |
ken | 4 months ago | |
linkname.dir | 4 months ago | |
method4.dir | 4 months ago | |
oldescape_linkname.dir | 4 months ago | |
retjmp.dir | 4 months ago | |
runtime | 4 months ago | |
stress | 4 months ago | |
syntax | 4 months ago | |
uintptrescapes.dir | 4 months ago | |
64bit.go | 4 months ago | |
235.go | 4 months ago | |
README.md | 4 months ago | |
alg.go | 4 months ago | |
alias.go | 4 months ago | |
alias1.go | 4 months ago | |
alias2.go | 4 months ago | |
alias3.go | 4 months ago | |
align.go | 4 months ago | |
append.go | 4 months ago | |
append1.go | 4 months ago | |
args.go | 4 months ago | |
armimm.go | 4 months ago | |
assign.go | 4 months ago | |
assign1.go | 4 months ago | |
atomicload.go | 4 months ago | |
bigalg.go | 4 months ago | |
bigmap.go | 4 months ago | |
blank.go | 4 months ago | |
blank1.go | 4 months ago | |
bom.go | 4 months ago | |
bombad.go | 4 months ago | |
bounds.go | 4 months ago | |
chancap.go | 4 months ago | |
chanlinear.go | 4 months ago | |
char_lit.go | 4 months ago | |
char_lit1.go | 4 months ago | |
checkbce.go | 4 months ago | |
clearfat.go | 4 months ago | |
closedchan.go | 4 months ago | |
closure.go | 4 months ago | |
closure1.go | 4 months ago | |
closure2.go | 4 months ago | |
closure3.go | 4 months ago | |
closure4.go | 4 months ago | |
cmp.go | 4 months ago | |
cmp6.go | 4 months ago | |
cmplx.go | 4 months ago | |
cmplxdivide.c | 4 months ago | |
cmplxdivide.go | 4 months ago | |
cmplxdivide1.go | 4 months ago | |
complit.go | 4 months ago | |
complit1.go | 4 months ago | |
compos.go | 4 months ago | |
const.go | 4 months ago | |
const1.go | 4 months ago | |
const2.go | 4 months ago | |
const3.go | 4 months ago | |
const4.go | 4 months ago | |
const5.go | 4 months ago | |
const6.go | 4 months ago | |
convT2X.go | 4 months ago | |
convert.go | 4 months ago | |
convert1.go | 4 months ago | |
convert2.go | 4 months ago | |
convert3.go | 4 months ago | |
convlit.go | 4 months ago | |
convlit1.go | 4 months ago | |
copy.go | 4 months ago | |
copy1.go | 4 months ago | |
crlf.go | 4 months ago | |
ddd.go | 4 months ago | |
ddd1.go | 4 months ago | |
ddd2.go | 4 months ago | |
decl.go | 4 months ago | |
declbad.go | 4 months ago | |
defer.go | 4 months ago | |
defererrcheck.go | 4 months ago | |
deferfin.go | 4 months ago | |
defernil.go | 4 months ago | |
deferprint.go | 4 months ago | |
deferprint.out | 4 months ago | |
devirt.go | 4 months ago | |
directive.go | 4 months ago | |
divide.go | 4 months ago | |
divmod.go | 4 months ago | |
empty.go | 4 months ago | |
env.go | 4 months ago | |
eof.go | 4 months ago | |
eof1.go | 4 months ago | |
escape.go | 4 months ago | |
escape2.go | 4 months ago | |
escape2n.go | 4 months ago | |
escape3.go | 4 months ago | |
escape4.go | 4 months ago | |
escape5.go | 4 months ago | |
escape_array.go | 4 months ago | |
escape_calls.go | 4 months ago | |
escape_closure.go | 4 months ago | |
escape_field.go | 4 months ago | |
escape_goto.go | 4 months ago | |
escape_hash_maphash.go | 4 months ago | |
escape_iface.go | 4 months ago | |
escape_indir.go | 4 months ago | |
escape_level.go | 4 months ago | |
escape_map.go | 4 months ago | |
escape_param.go | 4 months ago | |
escape_runtime_atomic.go | 4 months ago | |
escape_selfassign.go | 4 months ago | |
escape_slice.go | 4 months ago | |
escape_struct_param1.go | 4 months ago | |
escape_struct_param2.go | 4 months ago | |
escape_struct_return.go | 4 months ago | |
escape_sync_atomic.go | 4 months ago | |
escape_unsafe.go | 4 months ago | |
fibo.go | 4 months ago | |
finprofiled.go | 4 months ago | |
float_lit.go | 4 months ago | |
float_lit2.go | 4 months ago | |
float_lit3.go | 4 months ago | |
floatcmp.go | 4 months ago | |
for.go | 4 months ago | |
func.go | 4 months ago | |
func1.go | 4 months ago | |
func2.go | 4 months ago | |
func3.go | 4 months ago | |
func4.go | 4 months ago | |
func5.go | 4 months ago | |
func6.go | 4 months ago | |
func7.go | 4 months ago | |
func8.go | 4 months ago | |
funcdup.go | 4 months ago | |
funcdup2.go | 4 months ago | |
gc.go | 4 months ago | |
gc1.go | 4 months ago | |
gc2.go | 4 months ago | |
gcgort.go | 4 months ago | |
gcstring.go | 4 months ago | |
goprint.go | 4 months ago | |
goprint.out | 4 months ago | |
goto.go | 4 months ago | |
heapsampling.go | 4 months ago | |
helloworld.go | 4 months ago | |
helloworld.out | 4 months ago | |
if.go | 4 months ago | |
import.go | 4 months ago | |
import1.go | 4 months ago | |
import2.go | 4 months ago | |
import4.go | 4 months ago | |
import5.go | 4 months ago | |
import6.go | 4 months ago | |
index.go | 4 months ago | |
index0.go | 4 months ago | |
index1.go | 4 months ago | |
index2.go | 4 months ago | |
indirect.go | 4 months ago | |
indirect1.go | 4 months ago | |
init.go | 4 months ago | |
init1.go | 4 months ago | |
initcomma.go | 4 months ago | |
initempty.go | 4 months ago | |
initialize.go | 4 months ago | |
initializerr.go | 4 months ago | |
initloop.go | 4 months ago | |
inline.go | 4 months ago | |
inline_big.go | 4 months ago | |
inline_caller.go | 4 months ago | |
inline_callers.go | 4 months ago | |
inline_literal.go | 4 months ago | |
inline_math_bits_rotate.go | 4 months ago | |
inline_sync.go | 4 months ago | |
inline_variadic.go | 4 months ago | |
int_lit.go | 4 months ago | |
intcvt.go | 4 months ago | |
intrinsic.go | 4 months ago | |
intrinsic_atomic.go | 4 months ago | |
iota.go | 4 months ago | |
label.go | 4 months ago | |
label1.go | 4 months ago | |
linkmain.go | 4 months ago | |
linkmain_run.go | 4 months ago | |
linkname.go | 4 months ago | |
linkobj.go | 4 months ago | |
linkx.go | 4 months ago | |
linkx_run.go | 4 months ago | |
literal.go | 4 months ago | |
literal2.go | 4 months ago | |
live.go | 4 months ago | |
live1.go | 4 months ago | |
live2.go | 4 months ago | |
live_syscall.go | 4 months ago | |
locklinear.go | 4 months ago | |
loopbce.go | 4 months ago | |
makechan.go | 4 months ago | |
makemap.go | 4 months ago | |
makenew.go | 4 months ago | |
makeslice.go | 4 months ago | |
mallocfin.go | 4 months ago | |
map.go | 4 months ago | |
map1.go | 4 months ago | |
mapclear.go | 4 months ago | |
maplinear.go | 4 months ago | |
mergemul.go | 4 months ago | |
method.go | 4 months ago | |
method1.go | 4 months ago | |
method2.go | 4 months ago | |
method3.go | 4 months ago | |
method4.go | 4 months ago | |
method5.go | 4 months ago | |
method6.go | 4 months ago | |
method7.go | 4 months ago | |
named.go | 4 months ago | |
named1.go | 4 months ago | |
nil.go | 4 months ago | |
nilcheck.go | 4 months ago | |
nilptr.go | 4 months ago | |
nilptr2.go | 4 months ago | |
nilptr3.go | 4 months ago | |
nilptr4.go | 4 months ago | |
nilptr5.go | 4 months ago | |
nilptr5_aix.go | 4 months ago | |
nilptr5_wasm.go | 4 months ago | |
nilptr_aix.go | 4 months ago | |
nosplit.go | 4 months ago | |
notinheap.go | 4 months ago | |
notinheap2.go | 4 months ago | |
notinheap3.go | 4 months ago | |
nowritebarrier.go | 4 months ago | |
nul1.go | 4 months ago | |
opt_branchlikely.go | 4 months ago | |
parentype.go | 4 months ago | |
peano.go | 4 months ago | |
phiopt.go | 4 months ago | |
print.go | 4 months ago | |
print.out | 4 months ago | |
printbig.go | 4 months ago | |
printbig.out | 4 months ago | |
prove.go | 4 months ago | |
range.go | 4 months ago | |
recover.go | 4 months ago | |
recover1.go | 4 months ago | |
recover2.go | 4 months ago | |
recover3.go | 4 months ago | |
recover4.go | 4 months ago | |
recover5.go | 4 months ago | |
reflectmethod1.go | 4 months ago | |
reflectmethod2.go | 4 months ago | |
reflectmethod3.go | 4 months ago | |
reflectmethod4.go | 4 months ago | |
reflectmethod5.go | 4 months ago | |
reflectmethod6.go | 4 months ago | |
rename.go | 4 months ago | |
rename1.go | 4 months ago | |
reorder.go | 4 months ago | |
reorder2.go | 4 months ago | |
retjmp.go | 4 months ago | |
return.go | 4 months ago | |
rotate.go | 4 months ago | |
rotate0.go | 4 months ago | |
rotate1.go | 4 months ago | |
rotate2.go | 4 months ago | |
rotate3.go | 4 months ago | |
run.go | 4 months ago | |
rune.go | 4 months ago | |
runtime.go | 4 months ago | |
shift1.go | 4 months ago | |
shift2.go | 4 months ago | |
sieve.go | 4 months ago | |
sigchld.go | 4 months ago | |
sigchld.out | 4 months ago | |
simassign.go | 4 months ago | |
sinit.go | 4 months ago | |
sinit_run.go | 4 months ago | |
sizeof.go | 4 months ago | |
slice3.go | 4 months ago | |
slice3err.go | 4 months ago | |
slicecap.go | 4 months ago | |
sliceopt.go | 4 months ago | |
solitaire.go | 4 months ago | |
stack.go | 4 months ago | |
stackobj.go | 4 months ago | |
stackobj2.go | 4 months ago | |
stackobj3.go | 4 months ago | |
strcopy.go | 4 months ago | |
strength.go | 4 months ago | |
string_lit.go | 4 months ago | |
stringrange.go | 4 months ago | |
struct0.go | 4 months ago | |
switch.go | 4 months ago | |
switch2.go | 4 months ago | |
switch3.go | 4 months ago | |
switch4.go | 4 months ago | |
switch5.go | 4 months ago | |
switch6.go | 4 months ago | |
switch7.go | 4 months ago | |
tinyfin.go | 4 months ago | |
torture.go | 4 months ago | |
turing.go | 4 months ago | |
typecheck.go | 4 months ago | |
typecheckloop.go | 4 months ago | |
typeswitch.go | 4 months ago | |
typeswitch1.go | 4 months ago | |
typeswitch2.go | 4 months ago | |
typeswitch2b.go | 4 months ago | |
typeswitch3.go | 4 months ago | |
uintptrescapes.go | 4 months ago | |
uintptrescapes2.go | 4 months ago | |
uintptrescapes3.go | 4 months ago | |
undef.go | 4 months ago | |
utf.go | 4 months ago | |
varerr.go | 4 months ago | |
varinit.go | 4 months ago | |
winbatch.go | 4 months ago | |
writebarrier.go | 4 months ago | |
zerodivide.go | 4 months ago |
README.md
The test directory contains tests of the Go tool chain and runtime. It includes black box tests, regression tests, and error output tests. They are run as part of all.bash.
To run just these tests, execute:
../bin/go run run.go
Standard library tests should be written as regular Go tests in the appropriate package.
The tool chain and runtime also have regular Go tests in their packages. The main reasons to add a new test to this directory are:
- it is most naturally expressed using the test runner; or
- it is also applicable to
gccgo
and other Go tool chains.