1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 14:19:10 -04:00

DBD::SQLite: don't forget to test .h files

This commit is contained in:
Kenichi Ishigaki 2009-11-03 17:19:46 +00:00
parent 39c5139fd3
commit 70bf9a7c52

View file

@ -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 (<F>) {