This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[small patch] Replace "ppc" with "powerpc" in TestOpcodes.java


When verify Bug#2712, I find TestOpcodes fail on ppc64.  This small patch
replace "ppc" with "powerpc" to match Build.BUILD_ARCH, and
TestOpcodes could be skipped if this patch applied on ppc64.

2006-08-04  Yao Qi  <qiyaoltc@cn.ibm.com>

        * lib/opcodes/tests/TestOpcodes.java: Replace "ppc" with
	"powerpc" to match Build.BUILD_ARCH.

OK to apply?  Thanks!

-- 
Yao Qi

Index: frysk-imports/lib/opcodes/tests/TestOpcodes.java
===================================================================
RCS file:
/cvs/frysk/frysk-imports/lib/opcodes/tests/TestOpcodes.java,v
retrieving revision 1.8
diff -u -r1.8 TestOpcodes.java
--- frysk-imports/lib/opcodes/tests/TestOpcodes.java    31 Jul 2006 20:40:24 -0000      1.8
+++ frysk-imports/lib/opcodes/tests/TestOpcodes.java    4 Aug 2006 09:09:27 -0000
@@ -88,7 +88,7 @@
   public void testDisassembler ()
   {

-    if (Build.BUILD_ARCH.indexOf("ppc") != - 1)
+    if (Build.BUILD_ARCH.indexOf("powerpc") != - 1)
       {
         if (brokenPpcXXX(2712))
           return;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]