|
6 | 6 |
|
7 | 7 | from buildstream import _yaml
|
8 | 8 | from buildstream._testing import cli_integration as cli # pylint: disable=unused-import
|
9 |
| -from buildstream._testing._utils.site import HAVE_SANDBOX, BUILDBOX_RUN |
| 9 | +from buildstream._testing._utils.site import HAVE_SANDBOX, BUILDBOX_RUN, HAVE_BUILDBOX_FUSE |
10 | 10 |
|
11 | 11 |
|
12 | 12 | pytestmark = pytest.mark.integration
|
@@ -95,6 +95,7 @@ def test_script_root(cli, datafiles):
|
95 | 95 |
|
96 | 96 | @pytest.mark.datafiles(DATA_DIR)
|
97 | 97 | @pytest.mark.skipif(not HAVE_SANDBOX, reason="Only available with a functioning sandbox")
|
| 98 | +@pytest.mark.xfail(not HAVE_BUILDBOX_FUSE, reason="I don't know, seems like a bug") |
98 | 99 | def test_script_no_root(cli, datafiles):
|
99 | 100 | project = str(datafiles)
|
100 | 101 | element_path = os.path.join(project, "elements")
|
@@ -171,6 +172,7 @@ def test_script_layout(cli, datafiles):
|
171 | 172 | HAVE_SANDBOX == "buildbox-run" and BUILDBOX_RUN == "buildbox-run-userchroot",
|
172 | 173 | reason="Root directory not writable with userchroot",
|
173 | 174 | )
|
| 175 | +@pytest.mark.xfail(not HAVE_BUILDBOX_FUSE, reason="Root directory not writable without buildbox-fuse") |
174 | 176 | def test_regression_cache_corruption(cli, datafiles):
|
175 | 177 | project = str(datafiles)
|
176 | 178 | checkout_original = os.path.join(cli.directory, "checkout-original")
|
@@ -215,6 +217,7 @@ def test_regression_tmpdir(cli, datafiles):
|
215 | 217 | HAVE_SANDBOX == "buildbox-run" and BUILDBOX_RUN == "buildbox-run-userchroot",
|
216 | 218 | reason="Root directory not writable with userchroot",
|
217 | 219 | )
|
| 220 | +@pytest.mark.xfail(not HAVE_BUILDBOX_FUSE, reason="Root directory not writable without buildbox-fuse") |
218 | 221 | def test_regression_cache_corruption_2(cli, datafiles):
|
219 | 222 | project = str(datafiles)
|
220 | 223 | checkout_original = os.path.join(cli.directory, "checkout-original")
|
|
0 commit comments