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

[RFC] hooks: add support for .test files and add some initial tests #110

Merged
merged 5 commits into from Jan 14, 2019

Commits on Jan 7, 2019

  1. hooks: add support for .test files and add some initial tests

    The current hooks do not have a good testing story. To fix this
    this PR adds support for "hook/foo.test" files that will be run
    at the end of the prime phase during the snap build.
    
    It also adds two initial tests and converts the existing ABI test.
    If this looks reasonable we can write tests for the remaining hooks
    to ensure we do not regress again.
    mvo5 committed Jan 7, 2019
    Copy the full SHA
    34014ba View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2019

  1. address review feedback

    mvo5 committed Jan 14, 2019
    Copy the full SHA
    11d342b View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    651cec9 View commit details
    Browse the repository at this point in the history
  3. snapcraft.yaml: fix running hook-tests

    Only run hook tests when root otherwise the chroot to the prime
    dir will not work.
    mvo5 committed Jan 14, 2019
    Copy the full SHA
    348a754 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    cd6cbd7 View commit details
    Browse the repository at this point in the history