Bug#917103: dh_elpa_test: test bytecompilability
Sean Whitton <spwhitton@spwhitton.name> writes:
> In addition to running upstream test suites, dh_elpa_test could test
> whether the package's elisp can be bytecompiled against the version of
> Emacs in sid -- Emacs is already a hard dependency of dh-elpa.
>
> This would catch certain classes of bugs earlier.
1) What do you think about the idea of adding something like a
"DESDTDIR" to the generated emacsen-common scripts, then running the
generated emacsen-install file with DESTDIR=/tmp/something. That
would be slightly risky in the sense that every time we touch
maintainer scripts there is the potential for user suffering.
2) Should this be done by dh_elpa_test, or by dh_elpa? I can imagine
that we might disable upstream test suites but still want to run the
byte compilation.
d
Reply to: