1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:54:40 -07:00
go/test
Vinu Rajashekhar 89192ce4fe test/fixedbugs/bug243.go: instead of closing stdout,
remove the print statements.

This change is because of the port of gccgo to RTEMS.
These tests use the GCC DejaGNU framework. In some cases,
the tests need to be run on qemu where the status code
cannot be sent back to DejaGNU, so it prints the exit status
by putting a wrapper around the exit and abort calls.

This testcase closes the stdout, and hence prohibits DejaGNU
from knowing the status in such cases, and causes this test
to be wrongly declared as a failure.

R=rsc, iant
CC=golang-dev
https://golang.org/cl/1792042
2010-07-12 13:17:32 -07:00
..
bench Added regex-dna-parallel.go, a pretty trivial parallelization. 2010-06-03 16:20:54 -07:00
bugs bug286: test case 2010-06-09 16:05:00 -07:00
chan runtime: correct memory leak in select 2010-04-01 11:56:18 -07:00
fixedbugs test/fixedbugs/bug243.go: instead of closing stdout, 2010-07-12 13:17:32 -07:00
garbage gc benchmark: Update package list 2010-04-19 15:41:40 -07:00
interface gc: more cleanup 2010-06-09 11:00:55 -07:00
ken gc: fix crash for nested complex division 2010-06-23 10:55:50 -04:00
nilptr runtime: closures, defer bug fix for Native Client 2010-04-22 17:52:22 -07:00
syntax gc: more accurate error description 2010-05-24 17:07:51 -07:00
64bit.go - gofmt these files 2009-12-09 16:55:03 -08:00
235.go single argument panic 2010-03-30 10:34:57 -07:00
args.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
arm-pass.txt undo changes accidentally included in 09c5add99d50 2010-06-20 12:45:39 -07:00
assign1.go gc: new typechecking rules 2010-06-08 18:50:02 -07:00
assign.go gc: check for assignment to private fields during initialization 2009-12-03 22:09:58 -08:00
bigalg.go unused imports 2009-09-17 10:27:04 -07:00
bigmap.go runtime: allow large map values 2010-05-19 12:57:47 -07:00
blank1.go write-only variable _ 2009-09-08 23:16:19 -07:00
blank.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
chancap.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
char_lit1.go test: check that surrogate pair runes and huge rune values are rejected 2010-06-10 13:30:39 -07:00
char_lit.go fix build: invalid character literals 2010-06-08 22:32:04 -07:00
closedchan.go
closure.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
cmp1.go single argument panic 2010-03-30 10:34:57 -07:00
cmp2.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
cmp3.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
cmp4.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
cmp5.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
cmplx.go gc: cmplx typecheck bug fix 2010-04-19 09:21:51 -07:00
cmplxdivide1.go test: override gcc bug when preparing complex divide tables 2010-06-30 23:34:27 -07:00
cmplxdivide.c test: override gcc bug when preparing complex divide tables 2010-06-30 23:34:27 -07:00
cmplxdivide.go complex divide: match C99 implementation 2010-06-18 15:46:00 -07:00
complit.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
compos.go missing files; cleaned up g4 nothave output. 2009-09-24 13:38:18 -07:00
const1.go Cleaned up gccgo error messages require minor adjustment to 2009-11-05 16:04:45 -08:00
const2.go
const3.go fmt.Print*: reimplement to switch on type first. 2010-06-14 17:16:35 -07:00
const.go
convert3.go gc: new typechecking rules 2010-06-08 18:50:02 -07:00
convert.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
convlit1.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
convlit.go gc: implement []int(string) and []byte(string) 2010-02-25 15:11:07 -08:00
copy.go misc cleanup: gofmt + &x -> x[0:] conversion 2010-06-08 17:51:57 -07:00
ddd1.go Match gccgo error messages. 2010-02-05 18:38:27 -08: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
ddd.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
decl.go last round: non-package code 2009-09-15 12:42:24 -07:00
declbad.go last round: non-package code 2009-09-15 12:42:24 -07:00
defer.go Change type of Printf's args to ... interface{} 2010-02-02 10:53:37 +11:00
deferprint.go gc: implement defer print/println/panic/panicln 2010-01-27 15:37:08 -08:00
empty.go
env.go runtime: closures, defer bug fix for Native Client 2010-04-22 17:52:22 -07:00
errchk errchk: fix build - allow matches in multiline error messages 2010-06-20 12:05:43 -07:00
escape.go gc: allow taking address of out parameters 2010-03-26 18:01:02 -07:00
float_lit.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
floatcmp.go gc: fix up floating point NaN comparisons 2009-11-15 17:24:14 -08:00
for.go
func1.go
func2.go
func3.go
func4.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
func5.go single argument panic 2010-03-30 10:34:57 -07:00
func.go
gc1.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
gc.go finalizers; merge package malloc into package runtime 2010-02-03 16:31:34 -08:00
golden-arm.out fix build - arm tests 2010-05-18 23:27:35 -07:00
golden.out complex divide: match C99 implementation 2010-06-18 15:46:00 -07:00
hashmap.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
helloworld.go
if1.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
if.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
import1.go Match gccgo error messages. 2010-02-01 16:35:23 -08: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
import.go implications of stricter type equality: 2009-05-08 15:40:14 -07:00
indirect1.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
indirect.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
initcomma.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
initialize.go last round: non-package code 2009-09-15 12:42:24 -07:00
initializerr.go Adjust expected errors to work with gccgo. 2009-05-31 11:18:52 -07:00
initsyscall.go unused imports 2009-09-17 10:27:04 -07:00
int_lit.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
intcvt.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
iota.go
literal.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
malloc1.go finalizers; merge package malloc into package runtime 2010-02-03 16:31:34 -08:00
mallocfin.go single argument panic 2010-03-30 10:34:57 -07:00
mallocrand.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
mallocrep1.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
mallocrep.go single argument panic 2010-03-30 10:34:57 -07:00
map.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
method1.go Enable these tests. Fix divconst.go and modconst.go to 2009-08-21 15:43:23 -07:00
method2.go
method3.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
method.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
named1.go gc: new typechecking rules 2010-06-08 18:50:02 -07:00
named.go gc: new typechecking rules 2010-06-08 18:50:02 -07:00
nil.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
nul1.go runtime: closures, defer bug fix for Native Client 2010-04-22 17:52:22 -07:00
parentype.go undo 35108 (disallow parens around type in struct literal). 2009-09-29 21:21:14 -07:00
peano.go single argument panic 2010-03-30 10:34:57 -07:00
printbig.go
range.go gc: implement new len spec, range bug fix, optimization 2010-07-01 18:04:25 -07:00
recover1.go test for panic and recover 2010-03-31 11:47:09 -07:00
recover2.go complex divide: match C99 implementation 2010-06-18 15:46:00 -07:00
recover3.go runtime: closures, defer bug fix for Native Client 2010-04-22 17:52:22 -07:00
recover.go runtime: turn run time errors checks into panics 2010-04-01 22:31:27 -07:00
rename1.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
rename.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
run runtime: closures, defer bug fix for Native Client 2010-04-22 17:52:22 -07:00
run-arm test: fix run-arm to count bugs correctly 2010-05-03 13:24:26 -07:00
runtime.go New gccgo error message; match both compilers with one string. 2010-01-30 11:31:30 -08:00
sieve.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
sigchld.go runtime: closures, defer bug fix for Native Client 2010-04-22 17:52:22 -07:00
simassign.go single argument panic 2010-03-30 10:34:57 -07:00
sinit.go test: test of static initialization (fails) 2010-05-03 17:21:49 -07:00
stack.go runtime: closures, defer bug fix for Native Client 2010-04-22 17:52:22 -07:00
string_lit.go gc: implement []int(string) and []byte(string) 2010-02-25 15:11:07 -08:00
stringrange.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
switch1.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
switch.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
test0.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
turing.go
typeswitch1.go single argument panic 2010-03-30 10:34:57 -07:00
typeswitch2.go runtime, type switch: eliminate package global name space assumption 2010-01-25 18:23:20 -08:00
typeswitch.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
undef.go gc: less aggressive name binding, for better line numbers in errors 2010-06-12 11:17:24 -07:00
utf.go change utf8.FullRuneInString and utf8.DecodeRuneInString 2009-05-11 14:10:34 -07:00
varerr.go gc: handle use of builtin function outside function call 2010-05-20 22:57:08 -07:00
varinit.go single argument panic 2010-03-30 10:34:57 -07:00
vectors.go single argument panic 2010-03-30 10:34:57 -07:00
zerodivide.go test: add missing import for zerodivide 2010-06-18 22:42:48 -07:00