S/390: Set GOARCH to the current target when testing multiarch.

The attached patch fixes a test failure of go.test/test/env.go on
s390x biarch.  Bootstrapped and regression tested on s390x biarch
and s390.

gcc/testsuite/ChangeLog

2016-03-04  Dominik Vogt  <vogt@linux.vnet.ibm.com>

	PR testsuite/69766
	* go.test/go-test.exp: S/390: Set GOARCH to the current target when
	testing multiarch.

From-SVN: r233959
This commit is contained in:
Dominik Vogt 2016-03-04 07:33:16 +00:00 committed by Andreas Krebbel
parent f10cdc6c14
commit fba054c268
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2016-03-04 Dominik Vogt <vogt@linux.vnet.ibm.com>
PR testsuite/69766
* go.test/go-test.exp: S/390: Set GOARCH to the current target when
testing multiarch.
2016-03-04 Jakub Jelinek <jakub@redhat.com>
PR debug/69947

View File

@ -248,11 +248,12 @@ proc go-set-goarch { } {
}
}
}
"s390-*-*" {
set goarch "s390"
}
"s390x-*-*" {
set goarch "s390x"
"s390*-*-*" {
if [check_effective_target_ilp32] {
set goarch "s390"
} else {
set goarch "s390x"
}
}
"sparc*-*-*" {
if [check_effective_target_ilp32] {