summaryrefslogtreecommitdiff
path: root/elpa.pm
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-04-10 10:08:52 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-04-10 10:08:52 -0700
commit856c012f99043d304f07693794dbca7a471e3dbf (patch)
tree3e6e89e6ffae694941d41f2162e4861d5566af21 /elpa.pm
parent8b3769a8cbc12b2cafb6dcde73549fdcef857af1 (diff)
use an environment variable to disable testing
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;