summaryrefslogtreecommitdiff
path: root/tests/sandboxes
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sandboxes')
-rw-r--r--tests/sandboxes/fallback.py4
-rw-r--r--tests/sandboxes/selection.py6
2 files changed, 0 insertions, 10 deletions
diff --git a/tests/sandboxes/fallback.py b/tests/sandboxes/fallback.py
index d8170c61d..f2f585e70 100644
--- a/tests/sandboxes/fallback.py
+++ b/tests/sandboxes/fallback.py
@@ -23,8 +23,6 @@ from buildstream import _yaml
from buildstream._exceptions import ErrorDomain
from buildstream.testing import cli # pylint: disable=unused-import
-from tests.conftest import clean_platform_cache
-
pytestmark = pytest.mark.integration
@@ -56,8 +54,6 @@ def test_fallback_platform_fails(cli, datafiles):
}
_yaml.roundtrip_dump(element, element_path)
- clean_platform_cache()
-
result = cli.run(project=project, args=['build', 'element.bst'],
env={'BST_FORCE_BACKEND': 'fallback',
'BST_FORCE_SANDBOX': None})
diff --git a/tests/sandboxes/selection.py b/tests/sandboxes/selection.py
index 50406b4cb..eff247a95 100644
--- a/tests/sandboxes/selection.py
+++ b/tests/sandboxes/selection.py
@@ -23,8 +23,6 @@ from buildstream import _yaml
from buildstream._exceptions import ErrorDomain
from buildstream.testing import cli # pylint: disable=unused-import
-from tests.conftest import clean_platform_cache
-
pytestmark = pytest.mark.integration
@@ -56,8 +54,6 @@ def test_force_sandbox(cli, datafiles):
}
_yaml.roundtrip_dump(element, element_path)
- clean_platform_cache()
-
# Build without access to host tools, this will fail
result = cli.run(project=project, args=['build', 'element.bst'], env={'PATH': '', 'BST_FORCE_SANDBOX': 'bwrap'})
result.assert_main_error(ErrorDomain.PLATFORM, None)
@@ -89,8 +85,6 @@ def test_dummy_sandbox_fallback(cli, datafiles):
}
_yaml.roundtrip_dump(element, element_path)
- clean_platform_cache()
-
# Build without access to host tools, this will fail
result = cli.run(project=project, args=['build', 'element.bst'], env={'PATH': '', 'BST_FORCE_SANDBOX': None})
# But if we dont spesify a sandbox then we fall back to dummy, we still