Skip to content
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

Merged
merged 7 commits into from May 23, 2017

Conversation

morphis
Copy link
Contributor

@morphis morphis commented May 19, 2017

No description provided.

Copy link
Contributor

@fgimenez fgimenez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


# in 16.04: apt build-dep -y ./
quiet apt-get install -y $(gdebi --quiet --apt-line ./debian/control)
. "$TESTSLIB/distro.sh"
Copy link
Collaborator

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.

Copy link
Contributor Author

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@morphis morphis force-pushed the f/abstract-build-dep-installation branch from 7bdc164 to ab5723d Compare May 22, 2017 09:57
@morphis morphis force-pushed the f/abstract-build-dep-installation branch from c970ee5 to e5ad609 Compare May 23, 2017 12:15
@mvo5 mvo5 merged commit c78bced into snapcore:master May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants