summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-07-10 01:35:05 -0500
committerJesse Luehrs <doy@tozt.net>2011-07-10 01:43:42 -0500
commit574b3e491b6ee87753bb1228376c62481ae5bfc3 (patch)
treee3f40dd3c18d4201b71e9d63a8220cc5973c1a36 /t
parent6624bc8b7b053d3fda504531087426b107882593 (diff)
downloadsmartmatch-engine-core-574b3e491b6ee87753bb1228376c62481ae5bfc3.tar.gz
smartmatch-engine-core-574b3e491b6ee87753bb1228376c62481ae5bfc3.zip
for now, don't use xs implementation on pre-5.014 perls
they don't have the cv_set_call_checker stuff, and i'm not quite sure how Devel::CallChecker works
Diffstat (limited to 't')
-rw-r--r--t/core.t5
-rw-r--r--t/error.t5
2 files changed, 10 insertions, 0 deletions
diff --git a/t/core.t b/t/core.t
index 69c0942..0d7f7ec 100644
--- a/t/core.t
+++ b/t/core.t
@@ -3,6 +3,11 @@ use strict;
use warnings;
use Test::More;
+BEGIN {
+ plan skip_all => "no c implementation for pre-5.14 for now"
+ if $] < 5.014;
+}
+
use smartmatch 'core';
no warnings 'uninitialized';
diff --git a/t/error.t b/t/error.t
index edba950..4f86a87 100644
--- a/t/error.t
+++ b/t/error.t
@@ -3,6 +3,11 @@ use strict;
use warnings;
use Test::More;
+BEGIN {
+ plan skip_all => "no c implementation for pre-5.14 for now"
+ if $] < 5.014;
+}
+
my $foo = bless {};
my $bar = bless {};