New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests/lib: abstract build dependency installation a bit more #3357
tests/lib: abstract build dependency installation a bit more #3357
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
tests/lib/prepare-project.sh
Outdated
|
||
# in 16.04: apt build-dep -y ./ | ||
quiet apt-get install -y $(gdebi --quiet --apt-line ./debian/control) | ||
. "$TESTSLIB/distro.sh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a nice abstraction. However I wonder if it would be better to move this into pkgdb.sh as this is currently the central place of knowledge about pkg names on various distros.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good, let me do that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
7bdc164
to
ab5723d
Compare
b42d62d
to
c970ee5
Compare
c970ee5
to
e5ad609
Compare
No description provided.