Skip to content

Commit

Permalink
release changelog and changes for bionic
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiusens committed Mar 22, 2018
1 parent f0099a1 commit 7841793
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
snapcraft (2.40) xenial; urgency=medium
snapcraft (2.40+18.04) bionic; urgency=medium

[ Sergio Schvezov ]
* elf: better debug messages (#1950)
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/general/test_elf.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def _setup_project(self, keep_execstack: bool):
snapcraft_yaml.update_part('test-part', {
'plugin': 'nil',
'build-attributes': attributes,
'build': ('/usr/sbin/execstack --set-execstack '
'build': ('/usr/bin/execstack --set-execstack '
'$SNAPCRAFT_PART_INSTALL/usr/bin/hello'),
'prime': ['usr/bin/hello'],
'build-packages': ['execstack'],
Expand Down
3 changes: 2 additions & 1 deletion tests/integration/general/test_snap.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@
Not,
)

from tests import integration
from tests import integration, skip


class SnapTestCase(integration.TestCase):

@skip.skip_unless_codename('xenial', 'test designed for xenial')
def test_snap(self):
self.copy_project_to_cwd('assemble')
self.run_snapcraft('snap')
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/plugins/test_go_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_classic_with_conflicting_build_id(self):

interpreter = subprocess.check_output([
self.patchelf_command, '--print-interpreter', bin_path]).decode()
expected_interpreter = r'^/snap/core/current/.*'
expected_interpreter = r'^/snap/.*'
self.assertThat(interpreter, MatchesRegex(expected_interpreter))

def test_building_multiple_main_packages(self):
Expand Down
3 changes: 3 additions & 0 deletions tests/integration/snaps/ant-with-options/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ parts:
dist.dir: 'target'
ant-build-targets:
- artifacts
stage-packages: [libc6]
stage:
- -usr/share/icons
1 change: 1 addition & 0 deletions tests/integration/snaps/go-gotty/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ parts:
plugin: go
go-importpath: github.com/yudai/gotty
after: [go]
stage-packages: [libc6]
go:
source-tag: go1.9.2
source-depth: 1
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ parts:
plugin: nil
stage-packages:
- network-manager
- libc6
snap:
- usr/bin/nmcli
- usr/lib/*/libnm*
1 change: 1 addition & 0 deletions tests/integration/snaps/python-hello/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ parts:
python-part:
source: .
plugin: python
stage-packages: [libc6]
3 changes: 3 additions & 0 deletions tests/integration/snaps/ruby-hello/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ parts:
- lib
install: |
cp ./ruby-hello.rb $SNAPCRAFT_PART_INSTALL/bin/ruby-hello.rb
stage-packages:
- libc6

0 comments on commit 7841793

Please sign in to comment.