]> eyrie.org Git - kerberos/perl-kerberos.git/commitdiff
Exclude t/data from coverage testing
authorRuss Allbery <eagle@eyrie.org>
Fri, 28 Feb 2014 23:54:30 +0000 (15:54 -0800)
committerRuss Allbery <eagle@eyrie.org>
Fri, 28 Feb 2014 23:54:30 +0000 (15:54 -0800)
We may have tiny support programs in the t/data directory.  Those
shouldn't be run as part of coverage testing.  Not only will they
probably not contribute to coverage, they may do disruptive things
like expect something on standard input.

t/style/coverage.t

index 4a617b930488a09db8518f46b55809e34ab9c3d7..9491c6260d1f8293875a38d37de6a7bc262e919e 100755 (executable)
@@ -10,7 +10,7 @@
 # which can be found at <http://www.eyrie.org/~eagle/software/rra-c-util/>.
 #
 # Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 2013
+# Copyright 2013, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
 # Permission is hereby granted, free of charge, to any person obtaining a
@@ -50,7 +50,7 @@ use_prereq('Devel::Cover');
 use_prereq('Test::Strict');
 
 # Build a list of test directories to use for coverage.
-my %ignore = map { $_ => 1 } qw(docs style), @COVERAGE_SKIP_TESTS;
+my %ignore = map { $_ => 1 } qw(data docs style), @COVERAGE_SKIP_TESTS;
 opendir(my $testdir, 't') or BAIL_OUT("cannot open t: $!");
 my @t_dirs = readdir($testdir) or BAIL_OUT("cannot read t: $!");
 closedir($testdir) or BAIL_OUT("cannot close t: $!");