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:
parent
39c5139fd3
commit
70bf9a7c52
1 changed files with 6 additions and 1 deletions
|
@ -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>) {
|
||||
|
|
Loading…
Add table
Reference in a new issue