Permalink
Browse files

Moved the 64-bit "TODO" tests to a SKIP block.

Non-64-bit systems will skip, rather than fail, these tests.
  • Loading branch information...
1 parent 73aa084 commit 800899531bc13da5cbc36423662bae76de304fb5 @rjray committed Aug 17, 2011
Showing with 5 additions and 2 deletions.
  1. +5 −2 t/10_data.t
View
@@ -5,6 +5,8 @@
use strict;
use vars qw($val $str $fh $obj $class %val_tbl @values $datetime_avail);
+use Config;
+
use Test::More tests => 250;
use File::Spec;
@@ -254,8 +256,9 @@ is($values[8]->type, 'int', "smart_encode, int<3>");
is($values[9]->type, 'double', "smart_encode, double<2>");
is($values[10]->type, 'int', 'smart_encode, int<4>');
is($values[11]->type, 'int', 'smart_encode, int<5>');
-TODO: {
- local $TODO = 'Big integer issues in smart_encode';
+SKIP: {
+ skip '64-bit architecture required to test these I8 values', 2
+ if (! $Config{use64bitint});
is($values[12]->type, 'i8', 'smart_encode, i8<1>');
is($values[13]->type, 'i8', 'smart_encode, i8<2>');

0 comments on commit 8008995

Please sign in to comment.