summaryrefslogtreecommitdiff
path: root/tests/integration/shell.py
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2018-01-17 17:54:26 +0000
committerJürg Billeter <j@bitron.ch>2018-02-13 06:40:44 +0100
commitfc682d8c2539937d41f5e63acfc210319c77a328 (patch)
tree0549c8fabea49f4e56dd12975135469ff19e069f /tests/integration/shell.py
parent27287513156120b56ec1d56b8a455f411fe2d84b (diff)
downloadbuildstream-sam/integration-tests-alpine.tar.gz
tests/integration: Use a minimal custom base sysrootsam/integration-tests-alpine
We have been using the Freedesktop SDK binaries to provide a base system to run the integration tests. This works OK but it weighs in at 985MB of content, and there is no simple way to customize it so that we only download the bits we actually need. This commit changes the tests to use a custom sysroot based on the Alpine Linux distribution. The sysroot is 155MB unpacked, and packs down to a 27MB .tar.xz. This speeds up the integration tests significantly as we greatly reduce the amount of network traffic required and the amount of data that gets copied around when creating the staging area.
Diffstat (limited to 'tests/integration/shell.py')
-rw-r--r--tests/integration/shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/shell.py b/tests/integration/shell.py
index 1e14f736c..6a66b7e4d 100644
--- a/tests/integration/shell.py
+++ b/tests/integration/shell.py
@@ -76,6 +76,6 @@ def test_no_shell(cli, tmpdir, datafiles):
result = cli.run(project=project, args=['build', element_name])
assert result.exit_code == 0
- result = execute_shell(cli, project, '/usr/bin/echo Pegasissies!', element=element_name)
+ result = execute_shell(cli, project, '/bin/echo Pegasissies!', element=element_name)
assert result.exit_code == 0
assert result.output == "Pegasissies!\n"