Skip eintr_print.t under miniperl
authorFather Chrysostomos <sprout@cpan.org>
Wed, 4 Dec 2013 14:12:35 +0000 (06:12 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 7 Dec 2013 02:40:46 +0000 (18:40 -0800)
t/io/eintr_print.t

index 1e378fa..1a0d84d 100644 (file)
@@ -7,6 +7,8 @@
 BEGIN {
     chdir 't' if -d 't';
     @INC = '../lib';
+    require './test.pl';
+    skip_all_if_miniperl("No XS under miniperl");
 }
 
 use strict;
@@ -16,8 +18,6 @@ use Config;
 use Time::HiRes;
 use IO::Handle;
 
-require './test.pl';
-
 skip_all("only for dev versions for now") if ((int($]*1000) & 1) == 0);
 skip_all("does not match platform whitelist")
     unless ($^O =~ /^(linux|.*bsd|darwin|solaris)$/);