[svn:parrot] r36195 - trunk/t/native_pbc

rurban at svn.parrot.org rurban at svn.parrot.org
Sat Jan 31 13:27:06 UTC 2009


Author: rurban
Date: Sat Jan 31 13:27:06 2009
New Revision: 36195
URL: https://trac.parrot.org/parrot/changeset/36195

Log:
[test] TT #254. mark as TODO for big-endian numval transform.
Only on darwin/PPC so far.
Note: intval transform in darwin/PPC works okay (endianness-transform), 
but the numvalsize is equal and fails on the endianness-transform.

Modified:
   trunk/t/native_pbc/number.t

Modified: trunk/t/native_pbc/number.t
==============================================================================
--- trunk/t/native_pbc/number.t	Sat Jan 31 12:50:44 2009	(r36194)
+++ trunk/t/native_pbc/number.t	Sat Jan 31 13:27:06 2009	(r36195)
@@ -6,6 +6,7 @@
 use warnings;
 use lib qw( . lib ../lib ../../lib );
 use Test::More;
+use Parrot::Config;
 
 use Parrot::Test tests => 1;
 
@@ -84,8 +85,13 @@
 #         no endianize, no opcode, no numval transform
 #         dirformat = 1
 # ]
+TODO: {
+    local $TODO = "numval transform fails on big endian (PPC). See TT #254"
+      if $PConfig{byteorder} eq '4321';
+
 pbc_output_is( undef, $output, "i386 double float 32 bit opcode_t" )
     or diag "May need to regenerate t/native_pbc/number_1.pbc; see test file";
+}
 
 # Formerly there were tests for:
 # pbc_output_is(undef, <<OUTPUT, "i386 long double float 32 bit opcode_t");


More information about the parrot-commits mailing list