summaryrefslogtreecommitdiff
path: root/tests/integration/compose.py
diff options
context:
space:
mode:
authorValentin David <valentin.david@codethink.co.uk>2018-12-06 12:58:33 +0100
committerValentin David <valentin.david@codethink.co.uk>2018-12-07 12:23:46 +0100
commit29ff75c1bade5c975f03ec29f516971d910536b6 (patch)
treefe78fd226c1b895302a72db20161ebc3cb6ff116 /tests/integration/compose.py
parent2a0676c3bf607a95a41bd802839eaf677588bf79 (diff)
downloadbuildstream-valentindavid/remove-strip-binaries.tar.gz
Replace strip-binaries by a NOOP scriptvalentindavid/remove-strip-binaries
Diffstat (limited to 'tests/integration/compose.py')
-rw-r--r--tests/integration/compose.py32
1 files changed, 11 insertions, 21 deletions
diff --git a/tests/integration/compose.py b/tests/integration/compose.py
index 885497c48..9cbdc7744 100644
--- a/tests/integration/compose.py
+++ b/tests/integration/compose.py
@@ -38,48 +38,38 @@ def create_compose_element(name, path, config={}):
@pytest.mark.datafiles(DATA_DIR)
@pytest.mark.parametrize("include_domains,exclude_domains,expected", [
# Test flat inclusion
- ([], [], ['/usr', '/usr/lib', '/usr/bin',
- '/usr/share', '/usr/lib/debug',
- '/usr/lib/debug/usr', '/usr/lib/debug/usr/bin',
- '/usr/lib/debug/usr/bin/hello', '/usr/bin/hello',
+ ([], [], ['/usr', '/usr/bin',
+ '/usr/share', '/usr/bin/hello',
'/usr/share/doc', '/usr/share/doc/amhello',
'/usr/share/doc/amhello/README',
'/tests', '/tests/test']),
# Test only runtime
- (['runtime'], [], ['/usr', '/usr/lib', '/usr/share',
+ (['runtime'], [], ['/usr', '/usr/share',
'/usr/bin', '/usr/bin/hello']),
# Test with runtime and doc
- (['runtime', 'doc'], [], ['/usr', '/usr/lib', '/usr/share',
+ (['runtime', 'doc'], [], ['/usr', '/usr/share',
'/usr/bin', '/usr/bin/hello',
'/usr/share/doc', '/usr/share/doc/amhello',
'/usr/share/doc/amhello/README']),
# Test with only runtime excluded
- ([], ['runtime'], ['/usr', '/usr/lib', '/usr/share',
- '/usr/lib/debug', '/usr/lib/debug/usr',
- '/usr/lib/debug/usr/bin',
- '/usr/lib/debug/usr/bin/hello',
+ ([], ['runtime'], ['/usr', '/usr/share',
'/usr/share/doc', '/usr/share/doc/amhello',
'/usr/share/doc/amhello/README',
'/tests', '/tests/test']),
# Test with runtime and doc excluded
- ([], ['runtime', 'doc'], ['/usr', '/usr/lib', '/usr/share',
- '/usr/lib/debug', '/usr/lib/debug/usr',
- '/usr/lib/debug/usr/bin',
- '/usr/lib/debug/usr/bin/hello',
+ ([], ['runtime', 'doc'], ['/usr', '/usr/share',
'/tests', '/tests/test']),
# Test with runtime simultaneously in- and excluded
- (['runtime'], ['runtime'], ['/usr', '/usr/lib', '/usr/share']),
+ (['runtime'], ['runtime'], ['/usr', '/usr/share']),
# Test with runtime included and doc excluded
- (['runtime'], ['doc'], ['/usr', '/usr/lib', '/usr/share',
+ (['runtime'], ['doc'], ['/usr', '/usr/share',
'/usr/bin', '/usr/bin/hello']),
# Test including a custom 'test' domain
- (['test'], [], ['/usr', '/usr/lib', '/usr/share',
+ (['test'], [], ['/usr', '/usr/share',
'/tests', '/tests/test']),
# Test excluding a custom 'test' domain
- ([], ['test'], ['/usr', '/usr/lib', '/usr/bin',
- '/usr/share', '/usr/lib/debug',
- '/usr/lib/debug/usr', '/usr/lib/debug/usr/bin',
- '/usr/lib/debug/usr/bin/hello', '/usr/bin/hello',
+ ([], ['test'], ['/usr', '/usr/bin',
+ '/usr/share', '/usr/bin/hello',
'/usr/share/doc', '/usr/share/doc/amhello',
'/usr/share/doc/amhello/README'])
])