]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Do ppc32 tests on ppc64-capable platforms.
authorJulian Seward <jseward@acm.org>
Wed, 4 Jan 2006 03:08:16 +0000 (03:08 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 4 Jan 2006 03:08:16 +0000 (03:08 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5495

tests/cputest.c

index 41fcdae1dd726ab0b223dbe2c56856ee4f65b06b..9975c36f5b6aafee65fda33e4279df0c33a69187 100644 (file)
@@ -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)