Patchwork libgo patch committed: Fix testsuite on PPC

login
register
mail settings
Submitter Andreas Schwab
Date June 8, 2012, 12:42 p.m.
Message ID <m2lijyt1oj.fsf@igel.home>
Download mbox | patch
Permalink /patch/163776/
State New
Headers show

Comments

Andreas Schwab - June 8, 2012, 12:42 p.m.
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.
Ian Taylor - June 25, 2012, 4:26 p.m.
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

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/'