aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/go.test/go-test.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/go.test/go-test.exp')
-rw-r--r--gcc/testsuite/go.test/go-test.exp9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp
index c55924431d3..943a7f1a1a7 100644
--- a/gcc/testsuite/go.test/go-test.exp
+++ b/gcc/testsuite/go.test/go-test.exp
@@ -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