summaryrefslogtreecommitdiff
path: root/dh_elpa_test
diff options
context:
space:
mode:
Diffstat (limited to 'dh_elpa_test')
-rwxr-xr-xdh_elpa_test3
1 files changed, 2 insertions, 1 deletions
diff --git a/dh_elpa_test b/dh_elpa_test
index b06c485..b7c289e 100755
--- a/dh_elpa_test
+++ b/dh_elpa_test
@@ -115,7 +115,8 @@ if ($control->source->Build_Depends->has( "elpa-buttercup" )) {
# ---- ERT
$Text::Glob::strict_wildcard_slash = 0;
-my @ert_files = map { s|^\./||r } split("\n", `grep -lr "ert-deftest" .`);
+my @ert_files = map { s|^\./||r }
+ split("\n", `grep -lr "ert-deftest" . --exclude-dir=.pc --exclude-dir=debian`);
if (defined $ENV{'DH_ELPA_TEST_ERT_EXCLUDE'}) {
foreach my $glob (split(',', $ENV{'DH_ELPA_TEST_ERT_EXCLUDE'})) {
if ( my @matches = match_glob( $glob, @ert_files ) ) {