summaryrefslogtreecommitdiff
path: root/tests/examples/flatpak-autotools.py
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2018-10-16 17:29:58 +0100
committerJavier Jardón <jjardon@gnome.org>2019-02-20 07:54:15 -0800
commit97a545c1939a943e2d78c19602f56e5e49bcfc32 (patch)
tree295a3f7cc9cbc87f7ad6331af0c71497fa8bc745 /tests/examples/flatpak-autotools.py
parent80a0832cf23950dd91a5cd233091af902e8754e8 (diff)
downloadbuildstream-jjardon/use_freedesktop-sdk_18_08.tar.gz
doc/examples/flatpak-autotools: Use freedesktop-sdk 18.08jjardon/use_freedesktop-sdk_18_08
Diffstat (limited to 'tests/examples/flatpak-autotools.py')
-rw-r--r--tests/examples/flatpak-autotools.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/examples/flatpak-autotools.py b/tests/examples/flatpak-autotools.py
index 454b8d0bb..cd412339f 100644
--- a/tests/examples/flatpak-autotools.py
+++ b/tests/examples/flatpak-autotools.py
@@ -47,11 +47,13 @@ def test_autotools_build(cli, tmpdir, datafiles):
result = cli.run(project=project, args=['artifact', 'checkout', 'hello.bst', '--directory', checkout])
assert result.exit_code == 0
- assert_contains(checkout, ['/usr', '/usr/lib', '/usr/bin',
- '/usr/share',
- '/usr/bin/hello', '/usr/share/doc',
- '/usr/share/doc/amhello',
- '/usr/share/doc/amhello/README'])
+ assert_contains(checkout, ['/app', '/app/lib', '/app/bin',
+ '/app/share', '/app/lib/debug',
+ '/app/lib/debug/app', '/app/lib/debug/app/bin',
+ '/app/lib/debug/app/bin/hello',
+ '/app/bin/hello', '/app/share/doc',
+ '/app/share/doc/amhello',
+ '/app/share/doc/amhello/README'])
# Test running an executable built with autotools
@@ -66,6 +68,6 @@ def test_autotools_run(cli, tmpdir, datafiles):
result = cli.run(project=project, args=['build', 'hello.bst'])
assert result.exit_code == 0
- result = cli.run(project=project, args=['shell', 'hello.bst', '/usr/bin/hello'])
+ result = cli.run(project=project, args=['shell', 'hello.bst', '/app/bin/hello'])
assert result.exit_code == 0
assert result.output == 'Hello World!\nThis is amhello 1.0.\n'