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

Side by Side Diff: test/run

Issue 127740044: [dev.power64] test/run: support power64 and power64le
Patch Set: diff -r f7d07511ffc42bc37260ef4aaff3c9149e980359 https://code.google.com/p/go Created 11 years, 2 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:
View unified diff | Download patch
« no previous file with comments | « no previous file | test/testlib » ('j') | 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 eval $(go tool dist env) 6 eval $(go tool dist env)
7 export GOARCH GOOS GOROOT 7 export GOARCH GOOS GOROOT
8 export E= 8 export E=
9 9
10 case X"$GOARCH" in 10 case X"$GOARCH" in
11 Xamd64) 11 Xamd64)
12 export A=6 12 export A=6
13 ;; 13 ;;
14 X386) 14 X386)
15 export A=8 15 export A=8
16 ;; 16 ;;
17 Xarm) 17 Xarm)
18 export A=5 18 export A=5
19 export E="$GORUN" 19 export E="$GORUN"
20 ;; 20 ;;
21 Xpower64|Xpower64le)
22 export A=9
23 ;;
21 *) 24 *)
22 echo 1>&2 run: unsupported '$GOARCH' 25 echo 1>&2 run: unsupported '$GOARCH'
23 exit 1 26 exit 1
24 esac 27 esac
25 28
26 export G="${A}g ${GCFLAGS}" 29 export G="${A}g ${GCFLAGS}"
27 export L=${A}l 30 export L=${A}l
28 export GOTRACEBACK=0 31 export GOTRACEBACK=0
29 export LANG=C 32 export LANG=C
30 unset GREP_OPTIONS # in case user has a non-standard set 33 unset GREP_OPTIONS # in case user has a non-standard set
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 notinbugs=$(sed '/^== bugs/q' run.out | grep -c '^BUG') 132 notinbugs=$(sed '/^== bugs/q' run.out | grep -c '^BUG')
130 inbugs=$(sed '1,/^== bugs/d' run.out | grep -c '^BUG') 133 inbugs=$(sed '1,/^== bugs/d' run.out | grep -c '^BUG')
131 134
132 echo 2>&1 $inbugs known bugs';' $notinbugs unexpected bugs$diffmsg 135 echo 2>&1 $inbugs known bugs';' $notinbugs unexpected bugs$diffmsg
133 136
134 if [ "$failed" != "0" ]; then 137 if [ "$failed" != "0" ]; then
135 echo FAILED 138 echo FAILED
136 fi 139 fi
137 140
138 exit $failed 141 exit $failed
OLDNEW
« no previous file with comments | « no previous file | test/testlib » ('j') | no next file with comments »

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