summaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorPhillip Smyth <phillip.smyth@codethink.co.uk>2018-11-30 11:33:16 +0000
committerPhillip Smyth <phillip.smyth@codethink.co.uk>2018-11-30 16:50:35 +0000
commitac0bc4c0ef755ba5577b4c34356171397f3f3908 (patch)
tree7fe99f794ad7158dd5e4e8d23d278005dca2bcac /tests/integration
parent2d6ec07d2cf20c20e9b9269334ba9599d588c410 (diff)
downloadbuildstream-ac0bc4c0ef755ba5577b4c34356171397f3f3908.tar.gz
Added tests for .bst suffix and completions
buildcheckout.py: Add mandatory .bst suffix tests completions.py: Add test for fail on invalid suffix Added required files for testing integration/source-determinism.py: renamed test elements to end with .bst loader/__init__.py: initialised context properly with load and a message handler
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/source-determinism.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/source-determinism.py b/tests/integration/source-determinism.py
index a970c7dc9..fa12593df 100644
--- a/tests/integration/source-determinism.py
+++ b/tests/integration/source-determinism.py
@@ -33,7 +33,7 @@ def create_test_directory(*path, mode=0o644):
@pytest.mark.skipif(IS_LINUX and not HAVE_BWRAP, reason='Only available with bubblewrap on Linux')
def test_deterministic_source_umask(cli, tmpdir, datafiles, kind, integration_cache):
project = str(datafiles)
- element_name = 'list'
+ element_name = 'list.bst'
element_path = os.path.join(project, 'elements', element_name)
repodir = os.path.join(str(tmpdir), 'repo')
sourcedir = os.path.join(project, 'source')
@@ -108,7 +108,7 @@ def test_deterministic_source_local(cli, tmpdir, datafiles, integration_cache):
"""Only user rights should be considered for local source.
"""
project = str(datafiles)
- element_name = 'test'
+ element_name = 'test.bst'
element_path = os.path.join(project, 'elements', element_name)
sourcedir = os.path.join(project, 'source')