diff options
| author | Russ Cox <rsc@golang.org> | 2010-04-22 17:52:22 -0700 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2010-04-22 17:52:22 -0700 |
| commit | c6138efbcb3c69eb22be0e09740b4e74e6eff552 (patch) | |
| tree | 517171909ef7be7d91fcb865e558266aac65cc6d /test/nilptr | |
| parent | 6e80a01ab748e16428f5911523a1ad153b220fb0 (diff) | |
| download | go-c6138efbcb3c69eb22be0e09740b4e74e6eff552.tar.xz | |
runtime: closures, defer bug fix for Native Client
Enable package tests for Native Client build.
R=r
CC=golang-dev
https://golang.org/cl/957042
Diffstat (limited to 'test/nilptr')
| -rw-r--r-- | test/nilptr/arrayindex.go | 1 | ||||
| -rw-r--r-- | test/nilptr/arrayindex1.go | 1 | ||||
| -rw-r--r-- | test/nilptr/arraytoslice.go | 1 | ||||
| -rw-r--r-- | test/nilptr/arraytoslice1.go | 1 | ||||
| -rw-r--r-- | test/nilptr/arraytoslice2.go | 1 | ||||
| -rw-r--r-- | test/nilptr/slicearray.go | 1 | ||||
| -rw-r--r-- | test/nilptr/structfield.go | 1 | ||||
| -rw-r--r-- | test/nilptr/structfield1.go | 1 | ||||
| -rw-r--r-- | test/nilptr/structfield2.go | 1 | ||||
| -rw-r--r-- | test/nilptr/structfieldaddr.go | 1 |
10 files changed, 10 insertions, 0 deletions
diff --git a/test/nilptr/arrayindex.go b/test/nilptr/arrayindex.go index c42dedee81..1767acc275 100644 --- a/test/nilptr/arrayindex.go +++ b/test/nilptr/arrayindex.go @@ -1,3 +1,4 @@ +// [ $GOOS != nacl ] || exit 0 # do not bother on NaCl // $G $D/$F.go && $L $F.$A && // ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail) diff --git a/test/nilptr/arrayindex1.go b/test/nilptr/arrayindex1.go index 59126f82d5..c16cac4053 100644 --- a/test/nilptr/arrayindex1.go +++ b/test/nilptr/arrayindex1.go @@ -1,3 +1,4 @@ +// [ $GOOS != nacl ] || exit 0 # do not bother on NaCl // $G $D/$F.go && $L $F.$A && // ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail) diff --git a/test/nilptr/arraytoslice.go b/test/nilptr/arraytoslice.go index 4864d68552..65b2f8a765 100644 --- a/test/nilptr/arraytoslice.go +++ b/test/nilptr/arraytoslice.go @@ -1,3 +1,4 @@ +// [ $GOOS != nacl ] || exit 0 # do not bother on NaCl // $G $D/$F.go && $L $F.$A && // ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail) diff --git a/test/nilptr/arraytoslice1.go b/test/nilptr/arraytoslice1.go index 1a479dcdb2..b5240a803a 100644 --- a/test/nilptr/arraytoslice1.go +++ b/test/nilptr/arraytoslice1.go @@ -1,3 +1,4 @@ +// [ $GOOS != nacl ] || exit 0 # do not bother on NaCl // $G $D/$F.go && $L $F.$A && // ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail) diff --git a/test/nilptr/arraytoslice2.go b/test/nilptr/arraytoslice2.go index 0990b899dd..38e1a5cb28 100644 --- a/test/nilptr/arraytoslice2.go +++ b/test/nilptr/arraytoslice2.go @@ -1,3 +1,4 @@ +// [ $GOOS != nacl ] || exit 0 # do not bother on NaCl // $G $D/$F.go && $L $F.$A && // ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail) diff --git a/test/nilptr/slicearray.go b/test/nilptr/slicearray.go index 7a156b5e64..5f88010df8 100644 --- a/test/nilptr/slicearray.go +++ b/test/nilptr/slicearray.go @@ -1,3 +1,4 @@ +// [ $GOOS != nacl ] || exit 0 # do not bother on NaCl // $G $D/$F.go && $L $F.$A && // ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail) diff --git a/test/nilptr/structfield.go b/test/nilptr/structfield.go index 22db500d7d..9f70ecc70f 100644 --- a/test/nilptr/structfield.go +++ b/test/nilptr/structfield.go @@ -1,3 +1,4 @@ +// [ $GOOS != nacl ] || exit 0 # do not bother on NaCl // $G $D/$F.go && $L $F.$A && // ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail) diff --git a/test/nilptr/structfield1.go b/test/nilptr/structfield1.go index 520136805f..1a120890a0 100644 --- a/test/nilptr/structfield1.go +++ b/test/nilptr/structfield1.go @@ -1,3 +1,4 @@ +// [ $GOOS != nacl ] || exit 0 # do not bother on NaCl // $G $D/$F.go && $L $F.$A && // ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail) diff --git a/test/nilptr/structfield2.go b/test/nilptr/structfield2.go index a0a552c933..25ea8f665c 100644 --- a/test/nilptr/structfield2.go +++ b/test/nilptr/structfield2.go @@ -1,3 +1,4 @@ +// [ $GOOS != nacl ] || exit 0 # do not bother on NaCl // $G $D/$F.go && $L $F.$A && // ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail) diff --git a/test/nilptr/structfieldaddr.go b/test/nilptr/structfieldaddr.go index 32e9f79315..b5d370ca8b 100644 --- a/test/nilptr/structfieldaddr.go +++ b/test/nilptr/structfieldaddr.go @@ -1,3 +1,4 @@ +// [ $GOOS != nacl ] || exit 0 # do not bother on NaCl // $G $D/$F.go && $L $F.$A && // ((! sh -c ./$A.out) >/dev/null 2>&1 || echo BUG: should fail) |
