From 6020f3dc100138bbf357b5462a874a0bbd3516c6 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 4 Jan 2006 03:08:16 +0000 Subject: [PATCH] Do ppc32 tests on ppc64-capable platforms. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5495 --- tests/cputest.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/cputest.c b/tests/cputest.c index 41fcdae1dd..9975c36f5b 100644 --- a/tests/cputest.c +++ b/tests/cputest.c @@ -27,8 +27,7 @@ static Bool go(char* cpu) { if ( strcmp( cpu, "ppc32" ) == 0 ) return True; - else - return False; + return False; } #endif // __powerpc__ (32) @@ -37,8 +36,9 @@ static Bool go(char* cpu) { if ( strcmp( cpu, "ppc64" ) == 0 ) return True; - else - return False; + if ( strcmp( cpu, "ppc32" ) == 0 ) + return True; + return False; } #endif // __powerpc__ (64) -- 2.47.2