From 70bf9a7c525d28db6a06cb17a60a06d862feed0a Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Tue, 3 Nov 2009 17:19:46 +0000 Subject: [PATCH] DBD::SQLite: don't forget to test .h files --- t/29_cppcomments.t | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/t/29_cppcomments.t b/t/29_cppcomments.t index 6567f4a..f92ba31 100644 --- a/t/29_cppcomments.t +++ b/t/29_cppcomments.t @@ -10,11 +10,16 @@ use Test::More; use t::lib::Test; use Fatal qw(open); -my @c_files = <*.c>, <*.xs>; +my @c_files = (<*.c>, <*.h>, <*.xs>); plan tests => scalar(@c_files); FILE: foreach my $file (@c_files) { + if ($file =~ /ppport.h/) { + pass("$file is not ours to be tested"); + next; + } + open(F, $file); my $line = 0; while () {