tests/lib: abstract build dependency installation a bit more #3357

Merged
merged 7 commits into from May 23, 2017

Conversation

Projects
None yet
3 participants
Contributor

morphis commented May 19, 2017

No description provided.

LGTM

tests/lib/prepare-project.sh
-
-# in 16.04: apt build-dep -y ./
-quiet apt-get install -y $(gdebi --quiet --apt-line ./debian/control)
+. "$TESTSLIB/distro.sh"
@mvo5

mvo5 May 22, 2017

Collaborator

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.

@morphis

morphis May 22, 2017

Contributor

Sounds good, let me do that.

@morphis

morphis May 22, 2017

Contributor

Done

Simon Fels added some commits May 22, 2017

mvo5 approved these changes May 22, 2017

Simon Fels added some commits May 22, 2017

Simon Fels added some commits May 23, 2017

@mvo5 mvo5 merged commit c78bced into snapcore:master May 23, 2017

7 checks passed

artful-amd64 autopkgtest finished (success)
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
xenial-amd64 autopkgtest finished (success)
Details
xenial-i386 autopkgtest finished (success)
Details
xenial-ppc64el autopkgtest finished (success)
Details
yakkety-amd64 autopkgtest finished (success)
Details
zesty-amd64 autopkgtest finished (success)
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment