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

Side by Side Diff: src/run.bash

Issue 7578043: cgo: Add test for TLS in -hostobj mode (Closed)
Patch Set: diff -r fa13899da667 https://go.googlecode.com/hg/ Created 11 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:
View unified diff | Download patch
« no previous file with comments | « misc/cgo/testtls/tls_unix.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 go test 79 go test
80 ) || exit $? 80 ) || exit $?
81 81
82 [ "$CGO_ENABLED" != 1 ] || 82 [ "$CGO_ENABLED" != 1 ] ||
83 [ "$GOHOSTOS" == windows ] || 83 [ "$GOHOSTOS" == windows ] ||
84 [ "$GOHOSTOS" == darwin ] || 84 [ "$GOHOSTOS" == darwin ] ||
85 (xcd ../misc/cgo/testso 85 (xcd ../misc/cgo/testso
86 ./test.bash 86 ./test.bash
87 ) || exit $? 87 ) || exit $?
88 88
89 [ "$CGO_ENABLED" != 1 ] ||
90 (xcd ../misc/cgo/testtls
91 go test -ldflags -hostobj .
92 ) || exit $?
93
89 (xcd ../doc/progs 94 (xcd ../doc/progs
90 time ./run 95 time ./run
91 ) || exit $? 96 ) || exit $?
92 97
93 [ "$GOARCH" == arm ] || # uses network, fails under QEMU 98 [ "$GOARCH" == arm ] || # uses network, fails under QEMU
94 (xcd ../doc/articles/wiki 99 (xcd ../doc/articles/wiki
95 make clean 100 make clean
96 ./test.bash 101 ./test.bash
97 ) || exit $? 102 ) || exit $?
98 103
(...skipping 22 matching lines...) Expand all
121 unset GOMAXPROCS 126 unset GOMAXPROCS
122 time go run run.go 127 time go run run.go
123 ) || exit $? 128 ) || exit $?
124 129
125 echo 130 echo
126 echo '# Checking API compatibility.' 131 echo '# Checking API compatibility.'
127 go tool api -c $GOROOT/api/go1.txt -next $GOROOT/api/next.txt -except $GOROOT/ap i/except.txt 132 go tool api -c $GOROOT/api/go1.txt -next $GOROOT/api/next.txt -except $GOROOT/ap i/except.txt
128 133
129 echo 134 echo
130 echo ALL TESTS PASSED 135 echo ALL TESTS PASSED
OLDNEW
« no previous file with comments | « misc/cgo/testtls/tls_unix.c ('k') | no next file » | no next file with comments »

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