diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2016-05-01 09:31:58 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2016-05-01 09:31:58 -0700 |
commit | 307fa3abdb45c07547e67bea072f72c363ddf8f1 (patch) | |
tree | 4db50eeecb8af0a1a79519f81aa2434904df4965 | |
parent | 8de416612ebb434cd7f9142fb8b672fe14a03367 (diff) |
ensure that dh_auto_build is before dh_elpa_test
dh_auto_build always occurs before dh_auto_test; if there is any
building to do, it should happen first. But we can't just use
insert_after as then the test suite gets run more than once, including
within fakeroot. So use add_command to put dh_auto_build at the front
again.
-rwxr-xr-x | elpa.pm | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -10,6 +10,7 @@ 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"); + add_command("dh_auto_build", "build"); remove_command("dh_auto_test"); } |