summaryrefslogtreecommitdiff
path: root/elpa.pm
diff options
context:
space:
mode:
Diffstat (limited to 'elpa.pm')
-rwxr-xr-x[-rw-r--r--]elpa.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/elpa.pm b/elpa.pm
index cf73b54..dc64e33 100644..100755
--- a/elpa.pm
+++ b/elpa.pm
@@ -7,4 +7,10 @@ use Debian::Debhelper::Dh_Lib;
insert_after("dh_install", "dh_elpa");
+unless ( defined $ENV{ 'DH_ELPA_TEST_DISABLE' } ) {
+ # insert_after("dh_auto_test", "dh_elpa_test"); # test suite gets run more than once
+ add_command("dh_elpa_test", "build");
+ remove_command("dh_auto_test");
+}
+
1;