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

Delta Between Two Patch Sets: src/run.bash

Issue 11377043: code review 11377043: cmd/cgo: Fix issue with cgo cdefs
Left Patch Set: diff -r f3170d09181d https://code.google.com/p/go Created 11 years, 8 months ago
Right Patch Set: diff -r 5990f8211e89 https://code.google.com/p/go Created 11 years, 8 months 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/cmd/cgo/godefs.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 env) 8 eval $(go env)
9 9
10 unset CDPATH # in case user has it set 10 unset CDPATH # in case user has it set
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 esac 118 esac
119 ;; 119 ;;
120 freebsd-386 | freebsd-amd64 | linux-386 | linux-amd64 | netbsd-386 | netbsd-amd6 4) 120 freebsd-386 | freebsd-amd64 | linux-386 | linux-amd64 | netbsd-386 | netbsd-amd6 4)
121 go test -ldflags '-linkmode=external' || exit 1 121 go test -ldflags '-linkmode=external' || exit 1
122 go test -ldflags '-linkmode=auto' ../testtls || exit 1 122 go test -ldflags '-linkmode=auto' ../testtls || exit 1
123 go test -ldflags '-linkmode=external' ../testtls || exit 1 123 go test -ldflags '-linkmode=external' ../testtls || exit 1
124 esac 124 esac
125 ) || exit $? 125 ) || exit $?
126 126
127 [ "$CGO_ENABLED" != 1 ] || 127 [ "$CGO_ENABLED" != 1 ] ||
128 (xcd ../misc/cgo/testcdefs
129 ./test.bash || exit 1
130 ) || exit $?
131
132 [ "$CGO_ENABLED" != 1 ] ||
128 [ "$GOHOSTOS" == windows ] || 133 [ "$GOHOSTOS" == windows ] ||
129 (xcd ../misc/cgo/testso 134 (xcd ../misc/cgo/testso
130 ./test.bash || exit 1 135 ./test.bash || exit 1
131 ) || exit $? 136 ) || exit $?
132 137
133 [ "$CGO_ENABLED" != 1 ] || 138 [ "$CGO_ENABLED" != 1 ] ||
134 [ "$GOHOSTOS-$GOARCH" != linux-amd64 ] || 139 [ "$GOHOSTOS-$GOARCH" != linux-amd64 ] ||
135 (xcd ../misc/cgo/testasan 140 (xcd ../misc/cgo/testasan
136 go run main.go || exit 1 141 go run main.go || exit 1
137 ) || exit $? 142 ) || exit $?
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 unset GOMAXPROCS 178 unset GOMAXPROCS
174 time go run run.go || exit 1 179 time go run run.go || exit 1
175 ) || exit $? 180 ) || exit $?
176 181
177 echo 182 echo
178 echo '# Checking API compatibility.' 183 echo '# Checking API compatibility.'
179 go tool api -c $GOROOT/api/go1.txt,$GOROOT/api/go1.1.txt -next $GOROOT/api/next. txt -except $GOROOT/api/except.txt 184 go tool api -c $GOROOT/api/go1.txt,$GOROOT/api/go1.1.txt -next $GOROOT/api/next. txt -except $GOROOT/api/except.txt
180 185
181 echo 186 echo
182 echo ALL TESTS PASSED 187 echo ALL TESTS PASSED
LEFTRIGHT

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