go-test.exp (go-set-goarch): Recognize powerpc*-*-*.

* go.test/go-test.exp (go-set-goarch): Recognize powerpc*-*-*.
	(go-gc-tests): Skip nilptr.go on powerpc*-*-*.

From-SVN: r186643
This commit is contained in:
Ian Lance Taylor 2012-04-20 20:19:16 +00:00 committed by Ian Lance Taylor
parent d17c1ea623
commit 43880ab909
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-04-20 Ian Lance Taylor <iant@google.com>
* go.test/go-test.exp (go-set-goarch): Recognize powerpc*-*-*.
(go-gc-tests): Skip nilptr.go on powerpc*-*-*.
2012-04-17 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53003

View File

@ -217,6 +217,13 @@ proc go-set-goarch { } {
return ""
}
}
"powerpc*-*-*" {
if [check_effective_target_ilp32] {
set goarch "ppc"
} else {
set goarch "ppc64"
}
}
"sparc*-*-*" {
if [check_effective_target_ilp32] {
set goarch "sparc"
@ -302,7 +309,7 @@ proc go-gc-tests { } {
}
# Handle certain tests in a target-dependant way.
if { [istarget "alpha*-*-*"] || [istarget "sparc*-*-solaris*"] } {
if { [istarget "alpha*-*-*"] || [istarget "sparc*-*-solaris*"] || [istarget "powerpc*-*-*"] } {
if { [string match "*go.test/test/nilptr.go" $test] } {
untested $test
continue