Permalink
Browse files

prevent depends_on('realclean') from causing failing test

  • Loading branch information...
1 parent 7551272 commit 4833e15f65fea9ae594e740b77c978c0e83b26c0 @jberger jberger committed May 4, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 t/zz-example.t
View
@@ -97,7 +97,8 @@ $builder->depends_on('build');
# Windows cannot delete loaded files, therefore these tests are removed
# perhaps they should just be skipped on $^O, but I think they aren't really needed
-$builder->depends_on('realclean');
+eval{ $builder->depends_on('realclean'); 1 }
+ or warn "Could not clean up after tests, this isn't a big problem" ;
#ok( ! -e 'Build' , "realclean removes Build script" );
#ok( ! -d '_install', "realclean removes _install (share) directory" );
#ok( ! -d '_alien' , "realclean removes _alien (build) directory" );

0 comments on commit 4833e15

Please sign in to comment.