[Piuparts-devel] Bug#595119: piuparts: modular way to add new tests?
saschaefer at neurodiverse.org
Thu May 26 21:55:50 UTC 2011
From reading your report and your patch, I believe you can achieve this
with the "custom scripting" interface
While perhaps not ideal, this interface provides a 'modular way to add
In order to verify I am understanding ...
You seemingly need a way to determine if <pattern> is anywhere in the
"list of" Depends:; thus, your patch causes this to be built even in
absence of --warn-on-others. You then want to be able to test (ideally,
via regexp ?) for presence of >=1 patterns in this set, and
conditionally run your additional test(s) based on presence/absence of
While I have not attempted to produce set of shell scripts that provides
this functionality, I believe there is no fundamental constraint in the
interface that would preclude doing so. Am I misunderstanding; i.e. is
there some way the current interface does fails to address your needs ?
Finally, note your patch appears to unconditionally install and purge
emacs if you run the test; this is likely not correct, since emacs may
have either already been installed (dist-upgrade), or been installed by
install_packages, so that this may then lead to subsequent error(s)
More information about the Piuparts-devel