diff options
author | Ian Lance Taylor <iant@google.com> | 2012-04-20 20:18:49 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-04-20 20:18:49 +0000 |
commit | 4c1e23754a14f36c9311087ad28c326fd0fc6c6c (patch) | |
tree | a8a6baa30b7ee361f752e4a629fc0b2ff7defc87 /gcc | |
parent | d25a12fc2db00476f358d2a66ab1e30a7bfa4b9a (diff) | |
download | gcc-4c1e23754a14f36c9311087ad28c326fd0fc6c6c.zip gcc-4c1e23754a14f36c9311087ad28c326fd0fc6c6c.tar.gz gcc-4c1e23754a14f36c9311087ad28c326fd0fc6c6c.tar.bz2 |
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: r186642
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/go.test/go-test.exp | 9 |
2 files changed, 13 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 33646ee..d0ceb14 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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-20 Uros Bizjak <ubizjak@gmail.com> * gcc.target/x86_64/abi/avx/test_passing_unions.c: Avoid undefined diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp index c559244..943a7f1 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 |