diff mbox

libgo patch committed: Fix testsuite on PPC

Message ID m2lijyt1oj.fsf@igel.home
State New
Headers show

Commit Message

Andreas Schwab June 8, 2012, 12:42 p.m. UTC
Ian Lance Taylor <iant@google.com> writes:

> @@ -326,13 +336,18 @@
>  }
>  
>  {
> +	text="T"
> +	case "$GOARCH" in
> +	ppc*) text="D" ;;

This is wrong for ppc.

Andreas.

Comments

Ian Lance Taylor June 25, 2012, 4:26 p.m. UTC | #1
Andreas Schwab <schwab@linux-m68k.org> writes:

> Ian Lance Taylor <iant@google.com> writes:
>
>> @@ -326,13 +336,18 @@
>>  }
>>  
>>  {
>> +	text="T"
>> +	case "$GOARCH" in
>> +	ppc*) text="D" ;;
>
> This is wrong for ppc.
>
> Andreas.
>
> diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest
> index da1162e..208cbaf 100755
> --- a/libgo/testsuite/gotest
> +++ b/libgo/testsuite/gotest
> @@ -355,7 +355,7 @@ localname() {
>  {
>  	text="T"
>  	case "$GOARCH" in
> -	ppc*) text="D" ;;
> +	ppc64) text="D" ;;
>  	esac
>  
>  	symtogo='sed -e s/_test/XXXtest/ -e s/.*_\([^_]*\.\)/\1/ -e s/XXXtest/_test/'


Thanks.  Committed to mainline and 4.7 branch.

Ian
diff mbox

Patch

diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest
index da1162e..208cbaf 100755
--- a/libgo/testsuite/gotest
+++ b/libgo/testsuite/gotest
@@ -355,7 +355,7 @@  localname() {
 {
 	text="T"
 	case "$GOARCH" in
-	ppc*) text="D" ;;
+	ppc64) text="D" ;;
 	esac
 
 	symtogo='sed -e s/_test/XXXtest/ -e s/.*_\([^_]*\.\)/\1/ -e s/XXXtest/_test/'