1
0
mirror of https://github.com/golang/go synced 2024-09-25 05:20:13 -06:00
go/test
Ian Lance Taylor f861c7f61b If the compiler dumps core, bash will print a useless error
message with the full path of the errchk script.  Catch that
by wrapping the if statement which invokes the compiler in a
subshell.  Use the $TMPOUT file as a flag to let the main
shell know whether the subshell ran.  Since the compiler
stdout and stderr are redirected, if the if statement produces
any output, then the compiler crashed, and we report that.

R=r,rsc
DELTA=14  (11 added, 1 deleted, 2 changed)
OCL=33690
CL=33692
2009-08-21 17:41:18 -07:00
..
bench - use in-place bignum operations where available 2009-08-10 17:44:46 -07:00
bugs Test composite literals with undeclared types. This crashed 2009-08-21 16:09:17 -07:00
chan fix up some irregular indentation 2009-08-17 13:30:22 -07:00
fixedbugs add bug to capture double declaration of name in file and package block 2009-08-19 17:37:23 -07:00
interface fix up some irregular indentation 2009-08-17 13:30:22 -07:00
ken Enable these tests. Fix divconst.go and modconst.go to 2009-08-21 15:43:23 -07:00
64bit.go new 64-bit math test. 2009-05-31 12:35:11 -07:00
235.go Don't bother to import "os" just so that we can call 2009-05-16 23:12:28 -07:00
args.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
assign.go Adjust expected errors to work with gccgo. 2009-05-31 11:18:52 -07:00
bigalg.go Convert go tree to hierarchical pkg directory: 2009-04-16 20:52:37 -07:00
chancap.go len and cap on chans 2009-08-20 11:12:04 -07:00
char_lit.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
closedchan.go add test for close/closed, fix a few implementation bugs. 2009-03-23 18:50:35 -07:00
closure.go make every func literal expression allocate, 2009-07-28 20:01:00 -07:00
cmp1.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
cmp2.go implement new restrictions on what 2009-01-26 09:56:42 -08:00
cmp3.go maps have == so maps should work as map keys. 2009-07-03 09:45:15 -07:00
cmp4.go implement new restrictions on what 2009-01-26 09:56:42 -08:00
cmp5.go maps have == so maps should work as map keys. 2009-07-03 09:45:15 -07:00
complit.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
const1.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
const2.go Recognize gccgo error message. 2009-03-16 21:48:07 -07:00
const3.go make 6g constants behave as ken proposes. (i hope.) 2009-03-12 19:04:38 -07:00
const.go make 6g constants behave as ken proposes. (i hope.) 2009-03-12 19:04:38 -07:00
convert3.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
convert.go maps have == so maps should work as map keys. 2009-07-03 09:45:15 -07:00
convlit1.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
convlit.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
decl.go typo in message 2009-04-19 21:12:48 -07:00
declbad.go With the changes to support automatic forward declarations of 2009-08-19 14:40:48 -07:00
defer.go test for defer 2009-01-27 15:08:08 -08:00
empty.go test of new empty productions 2008-10-08 15:33:18 -07:00
env.go Getenv: almost no one wants the error, so make it return a string that may be empty. 2009-06-26 20:28:41 -07:00
errchk If the compiler dumps core, bash will print a useless error 2009-08-21 17:41:18 -07:00
escape1.go Rename function to avoid function redefinition error. Remove 2009-02-05 12:54:15 -08:00
escape.go if take address of local, move to heap. 2009-01-29 17:38:58 -08:00
float_lit.go minor int/float fixes 2008-10-29 13:58:12 -07:00
for.go fix bug depot: 2008-08-11 22:07:49 -07:00
func1.go Check for specific error messages in the testsuite. This 2008-09-19 14:39:49 -07:00
func2.go convert *[] to []. 2008-12-18 22:37:22 -08:00
func3.go change in spec results in non-error 2008-10-06 16:27:14 -07:00
func4.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
func5.go update go code tree to new func rules. 2009-01-30 14:39:31 -08:00
func.go delete export 2009-01-20 14:40:40 -08:00
gc1.go gc #0. mark and sweep collector. 2009-01-26 17:37:05 -08:00
gc.go gc #0. mark and sweep collector. 2009-01-26 17:37:05 -08:00
golden.out Test composite literals with undeclared types. This crashed 2009-08-21 16:09:17 -07:00
hashmap.go convert non-pkg go files to whole-package compilation. 2009-08-12 13:18:54 -07:00
helloworld.go fix bug depot: 2008-08-11 22:07:49 -07:00
hilbert.go fix test 2009-07-07 10:30:31 -07:00
if1.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
if.go fix bug depot: 2008-08-11 22:07:49 -07:00
import1.go try to do better line number reporting 2009-08-19 15:18:08 -07:00
import.go implications of stricter type equality: 2009-05-08 15:40:14 -07:00
indirect1.go delete some code from walkexpr that is now 2009-07-30 18:56:44 -07:00
indirect.go update tests for CL 30586. 2009-06-25 14:44:09 -07:00
initcomma.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
initialize.go allow type name as key to accomodate anonymous fields. 2009-05-21 16:31:10 -07:00
initializerr.go Adjust expected errors to work with gccgo. 2009-05-31 11:18:52 -07:00
initsyscall.go runtime: fix init scheduling bug. 2009-07-21 19:43:27 -07:00
int_lit.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
intcvt.go integer conversions and test. 2009-05-29 09:17:35 -07:00
iota.go delete export 2009-01-20 14:40:40 -08:00
literal.go fix bug depot: 2008-08-11 22:07:49 -07:00
malloc1.go printf->Printf etc. 2009-01-15 13:48:11 -08:00
mallocrand.go fix 386 malloc tests, 2009-06-05 10:59:37 -07:00
mallocrep1.go fix 386 malloc tests, 2009-06-05 10:59:37 -07:00
mallocrep.go fix 386 malloc tests, 2009-06-05 10:59:37 -07:00
map.go allow range on nil maps 2009-03-23 18:32:37 -07:00
method1.go Enable these tests. Fix divconst.go and modconst.go to 2009-08-21 15:43:23 -07:00
method2.go delete export 2009-01-20 14:40:40 -08:00
method3.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
method.go delete export 2009-01-20 14:40:40 -08:00
nil.go delete export 2009-01-20 14:40:40 -08:00
parentype.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
peano.go delete export 2009-01-20 14:40:40 -08:00
printbig.go fix printing of -(1<<63) 2008-09-17 14:08:52 -07:00
range.go range over channels. 2009-03-20 11:32:58 -07:00
run fix a couple of scripts 2009-08-17 14:16:25 -07:00
sieve.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
sigchld.go update Go tree to use new syscall package. 2009-06-01 22:14:39 -07:00
simassign.go bug159 2009-08-07 16:47:54 -07:00
stack.go test for new string bug 2009-04-10 06:22:41 -07:00
string_lit.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
stringrange.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
switch1.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
switch.go fix bug depot: 2008-08-11 22:07:49 -07:00
test0.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
turing.go fix bug depot: 2008-08-11 22:07:49 -07:00
typeswitch.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
utf.go change utf8.FullRuneInString and utf8.DecodeRuneInString 2009-05-11 14:10:34 -07:00
varinit.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
vectors.go Convert go tree to hierarchical pkg directory: 2009-04-16 20:52:37 -07:00