mirror of
https://github.com/golang/go
synced 2024-11-25 06:57:58 -07:00
drop output from nilptr tests;
too hard to make it the same everywhere. still checking for non-zero exit status though. disable core files while running tests R=r http://go/go-review/1026037
This commit is contained in:
parent
3d668c1b5d
commit
da776791c4
@ -5,6 +5,9 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# no core files, please
|
||||||
|
ulimit -c 0
|
||||||
|
|
||||||
xcd() {
|
xcd() {
|
||||||
echo
|
echo
|
||||||
echo --- cd $1
|
echo --- cd $1
|
||||||
|
@ -94,66 +94,6 @@ panic PC=xxx
|
|||||||
|
|
||||||
== nilptr/
|
== nilptr/
|
||||||
|
|
||||||
=========== nilptr/arrayindex.go
|
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
|
||||||
=========== nilptr/arrayindex1.go
|
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
|
||||||
=========== nilptr/arraytoslice.go
|
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
|
||||||
=========== nilptr/arraytoslice1.go
|
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
|
||||||
=========== nilptr/arraytoslice2.go
|
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
|
||||||
=========== nilptr/slicearray.go
|
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
|
||||||
=========== nilptr/structfield.go
|
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
|
||||||
=========== nilptr/structfield1.go
|
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
|
||||||
=========== nilptr/structfield2.go
|
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
|
||||||
=========== nilptr/structfieldaddr.go
|
|
||||||
SIGSEGV: segmentation violation
|
|
||||||
Faulting address: 0x0
|
|
||||||
pc: xxx
|
|
||||||
|
|
||||||
|
|
||||||
== fixedbugs/
|
== fixedbugs/
|
||||||
|
|
||||||
=========== fixedbugs/bug016.go
|
=========== fixedbugs/bug016.go
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
|
// $G $D/$F.go && $L $F.$A &&
|
||||||
|
// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
|
||||||
|
|
||||||
// Copyright 2009 The Go Authors. All rights reserved.
|
// Copyright 2009 The Go Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
|
// $G $D/$F.go && $L $F.$A &&
|
||||||
|
// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
|
||||||
|
|
||||||
// Copyright 2009 The Go Authors. All rights reserved.
|
// Copyright 2009 The Go Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
|
// $G $D/$F.go && $L $F.$A &&
|
||||||
|
// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
|
||||||
|
|
||||||
// Copyright 2009 The Go Authors. All rights reserved.
|
// Copyright 2009 The Go Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
|
// $G $D/$F.go && $L $F.$A &&
|
||||||
|
// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
|
||||||
|
|
||||||
// Copyright 2009 The Go Authors. All rights reserved.
|
// Copyright 2009 The Go Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
|
// $G $D/$F.go && $L $F.$A &&
|
||||||
|
// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
|
||||||
|
|
||||||
// Copyright 2009 The Go Authors. All rights reserved.
|
// Copyright 2009 The Go Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
|
// $G $D/$F.go && $L $F.$A &&
|
||||||
|
// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
|
||||||
|
|
||||||
// Copyright 2009 The Go Authors. All rights reserved.
|
// Copyright 2009 The Go Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
|
// $G $D/$F.go && $L $F.$A &&
|
||||||
|
// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
|
||||||
|
|
||||||
// Copyright 2009 The Go Authors. All rights reserved.
|
// Copyright 2009 The Go Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
|
// $G $D/$F.go && $L $F.$A &&
|
||||||
|
// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
|
||||||
|
|
||||||
// Copyright 2009 The Go Authors. All rights reserved.
|
// Copyright 2009 The Go Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
|
// $G $D/$F.go && $L $F.$A &&
|
||||||
|
// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
|
||||||
|
|
||||||
// Copyright 2009 The Go Authors. All rights reserved.
|
// Copyright 2009 The Go Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
// $G $D/$F.go && $L $F.$A && (! ./$A.out || echo BUG: should fail)
|
// $G $D/$F.go && $L $F.$A &&
|
||||||
|
// ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail)
|
||||||
|
|
||||||
// Copyright 2009 The Go Authors. All rights reserved.
|
// Copyright 2009 The Go Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
|
3
test/run
3
test/run
@ -42,6 +42,9 @@ TMP2FILE=/tmp/gotest2-$$-$USER
|
|||||||
# on thresher, 3GB suffices to run the tests; with 2GB, peano fails.
|
# on thresher, 3GB suffices to run the tests; with 2GB, peano fails.
|
||||||
ulimit -v 4000000
|
ulimit -v 4000000
|
||||||
|
|
||||||
|
# no core files please
|
||||||
|
ulimit -c 0
|
||||||
|
|
||||||
true >pass.out >times.out
|
true >pass.out >times.out
|
||||||
|
|
||||||
for dir in . ken chan interface nilptr fixedbugs bugs
|
for dir in . ken chan interface nilptr fixedbugs bugs
|
||||||
|
Loading…
Reference in New Issue
Block a user