diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2016-04-10 10:08:52 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2016-04-10 10:08:52 -0700 |
commit | 856c012f99043d304f07693794dbca7a471e3dbf (patch) | |
tree | 3e6e89e6ffae694941d41f2162e4861d5566af21 /elpa.pm | |
parent | 8b3769a8cbc12b2cafb6dcde73549fdcef857af1 (diff) |
use an environment variable to disable testing
Diffstat (limited to 'elpa.pm')
-rwxr-xr-x[-rw-r--r--] | elpa.pm | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |