This is an automated email from the git hooks/post-receive script.

abe pushed a commit to annotated tag 2.002003
in repository libdist-zilla-plugin-test-podspelling-perl.

commit 8de96d90e306ca2ada892c716ad6303d26ab6bbb
Author: Caleb Cushing <xenoterrac...@gmail.com>
Date:   Tue Apr 3 23:52:31 2012 -0500

    add test compiles check
    
    Signed-off-by: Caleb Cushing <xenoterrac...@gmail.com>
---
 t/file.t | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/t/file.t b/t/file.t
new file mode 100644
index 0000000..2dbaf94
--- /dev/null
+++ b/t/file.t
@@ -0,0 +1,34 @@
+use strict;
+use warnings;
+use Test::More;
+use Test::DZil;
+use Test::Script 1.05;
+
+my $tzil
+       = Builder->from_config(
+               {
+                       dist_root    => 'corpus/a',
+               },
+               {
+                       add_files => {
+                               'source/dist.ini' => 
simple_ini(['Test::PodSpelling'])
+                       }
+               },
+       );
+
+$tzil->build;
+
+my $fn
+       = $tzil
+       ->tempdir
+       ->subdir('build')
+       ->subdir('xt')
+       ->subdir('author')
+       ->file('pod-spell.t')
+       ;
+
+ok ( -e $fn, 'test file exists');
+
+script_compiles( '' . $fn->relative, 'check test compiles' );
+
+done_testing;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-test-podspelling-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to