Skip reg_eval_scope.t under minitest, as it needs charnames.
authorNicholas Clark <nick@ccl4.org>
Fri, 25 Feb 2011 15:53:10 +0000 (15:53 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 6 Mar 2011 09:13:49 +0000 (09:13 +0000)
Charnames uses File::Spec, which may not have been build.

t/re/reg_eval_scope.t

index 3fd1bad..43af443 100644 (file)
@@ -2,7 +2,12 @@
 
 # Test scoping issues with embedded code in regexps.
 
-BEGIN { chdir 't'; @INC = qw "lib ../lib"; require './test.pl' }
+BEGIN {
+    chdir 't';
+    @INC = qw(lib ../lib);
+    require './test.pl';
+    skip_all_if_miniperl("no dynamic loading on miniperl, no re");
+}
 
 plan 17;