Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(102)

Delta Between Two Patch Sets: src/run.bash

Issue 5731048: code review 5731048: misc/cgo: re-enable some tests (Closed)
Left Patch Set: Created 13 years, 1 month ago
Right Patch Set: diff -r 61a5159136af https://code.google.com/p/go/ Created 13 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/go/build/build.go ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 # Copyright 2009 The Go Authors. All rights reserved. 2 # Copyright 2009 The Go Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style 3 # Use of this source code is governed by a BSD-style
4 # license that can be found in the LICENSE file. 4 # license that can be found in the LICENSE file.
5 5
6 set -e 6 set -e
7 7
8 eval $(go tool dist env) 8 eval $(go tool dist env)
9 9
10 unset CDPATH # in case user has it set 10 unset CDPATH # in case user has it set
(...skipping 17 matching lines...) Expand all
28 28
29 echo '# GOMAXPROCS=2 runtime -cpu=1,2,4' 29 echo '# GOMAXPROCS=2 runtime -cpu=1,2,4'
30 GOMAXPROCS=2 go test runtime -short -timeout=120s -cpu=1,2,4 30 GOMAXPROCS=2 go test runtime -short -timeout=120s -cpu=1,2,4
31 echo 31 echo
32 32
33 echo '# sync -cpu=10' 33 echo '# sync -cpu=10'
34 go test sync -short -timeout=120s -cpu=10 34 go test sync -short -timeout=120s -cpu=10
35 35
36 xcd() { 36 xcd() {
37 echo 37 echo
38 » echo --- cd $1 38 » echo '#' $1
39 builtin cd "$GOROOT"/src/$1 39 builtin cd "$GOROOT"/src/$1
40 } 40 }
41 41
42 BROKEN=true 42 BROKEN=true
43 43
44 $BROKEN ||
45 [ "$CGO_ENABLED" != 1 ] || 44 [ "$CGO_ENABLED" != 1 ] ||
46 [ "$GOHOSTOS" == windows ] || 45 [ "$GOHOSTOS" == windows ] ||
47 (xcd ../misc/cgo/stdio 46 (xcd ../misc/cgo/stdio
48 "$GOMAKE" clean
49 ./test.bash 47 ./test.bash
50 ) || exit $? 48 ) || exit $?
51 49
52 $BROKEN ||
53 [ "$CGO_ENABLED" != 1 ] || 50 [ "$CGO_ENABLED" != 1 ] ||
54 (xcd ../misc/cgo/life 51 (xcd ../misc/cgo/life
55 "$GOMAKE" clean
56 ./test.bash 52 ./test.bash
57 ) || exit $? 53 ) || exit $?
58 54
59 $BROKEN ||
60 [ "$CGO_ENABLED" != 1 ] || 55 [ "$CGO_ENABLED" != 1 ] ||
61 (xcd ../misc/cgo/test 56 (xcd ../misc/cgo/test
62 "$GOMAKE" clean 57 go test
63 gotest
64 ) || exit $? 58 ) || exit $?
65 59
66 $BROKEN || 60 $BROKEN ||
67 [ "$CGO_ENABLED" != 1 ] || 61 [ "$CGO_ENABLED" != 1 ] ||
68 [ "$GOHOSTOS" == windows ] || 62 [ "$GOHOSTOS" == windows ] ||
69 [ "$GOHOSTOS" == darwin ] || 63 [ "$GOHOSTOS" == darwin ] ||
70 (xcd ../misc/cgo/testso 64 (xcd ../misc/cgo/testso
71 "$GOMAKE" clean 65 "$GOMAKE" clean
72 ./test.bash 66 ./test.bash
73 ) || exit $? 67 ) || exit $?
(...skipping 29 matching lines...) Expand all
103 (xcd ../test/bench/go1 97 (xcd ../test/bench/go1
104 "$GOMAKE" test 98 "$GOMAKE" test
105 ) || exit $? 99 ) || exit $?
106 100
107 (xcd ../test 101 (xcd ../test
108 time go run run.go 102 time go run run.go
109 ) || exit $? 103 ) || exit $?
110 104
111 echo 105 echo
112 echo ALL TESTS PASSED 106 echo ALL TESTS PASSED
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b