diff options
author | Benjamin Schubert <contact@benschubert.me> | 2019-10-09 10:56:29 +0100 |
---|---|---|
committer | Benjamin Schubert <contact@benschubert.me> | 2019-10-09 10:56:29 +0100 |
commit | b1b0d28e5051a78cd7b04fe70ed9dffb1f62069f (patch) | |
tree | 3fcb14c9b33ead2cd5913498b0dfce58247ae78d /tests/integration/script.py | |
parent | b592cb85c7e8f3580e75dff531d44ec1bed84dc1 (diff) | |
download | buildstream-bschubert/test-skips.tar.gz |
Diffstat (limited to 'tests/integration/script.py')
-rw-r--r-- | tests/integration/script.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/integration/script.py b/tests/integration/script.py index dc893f679..31d1d5800 100644 --- a/tests/integration/script.py +++ b/tests/integration/script.py @@ -39,7 +39,7 @@ def create_script_element(name, path, config=None, variables=None): @pytest.mark.datafiles(DATA_DIR) -@pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') +@pytest.mark.xfail(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') def test_script(cli, datafiles): project = str(datafiles) checkout = os.path.join(cli.directory, 'checkout') @@ -67,7 +67,7 @@ def test_script(cli, datafiles): @pytest.mark.datafiles(DATA_DIR) -@pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') +@pytest.mark.xfail(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') def test_script_root(cli, datafiles): project = str(datafiles) checkout = os.path.join(cli.directory, 'checkout') @@ -99,7 +99,7 @@ def test_script_root(cli, datafiles): @pytest.mark.datafiles(DATA_DIR) -@pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') +@pytest.mark.xfail(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') @pytest.mark.xfail(HAVE_SANDBOX == 'buildbox', reason='Not working with BuildBox', strict=True) def test_script_no_root(cli, datafiles): project = str(datafiles) @@ -123,7 +123,7 @@ def test_script_no_root(cli, datafiles): @pytest.mark.datafiles(DATA_DIR) -@pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') +@pytest.mark.xfail(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') @pytest.mark.xfail(HAVE_SANDBOX == 'buildbox', reason='Not working with BuildBox', strict=True) def test_script_cwd(cli, datafiles): project = str(datafiles) @@ -155,7 +155,7 @@ def test_script_cwd(cli, datafiles): @pytest.mark.datafiles(DATA_DIR) -@pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') +@pytest.mark.xfail(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') def test_script_layout(cli, datafiles): project = str(datafiles) checkout = os.path.join(cli.directory, 'checkout') @@ -174,7 +174,7 @@ def test_script_layout(cli, datafiles): @pytest.mark.datafiles(DATA_DIR) -@pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') +@pytest.mark.xfail(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') def test_regression_cache_corruption(cli, datafiles): project = str(datafiles) checkout_original = os.path.join(cli.directory, 'checkout-original') @@ -204,7 +204,7 @@ def test_regression_cache_corruption(cli, datafiles): @pytest.mark.datafiles(DATA_DIR) -@pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') +@pytest.mark.xfail(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') def test_regression_tmpdir(cli, datafiles): project = str(datafiles) element_name = 'script/tmpdir.bst' @@ -214,7 +214,7 @@ def test_regression_tmpdir(cli, datafiles): @pytest.mark.datafiles(DATA_DIR) -@pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') +@pytest.mark.xfail(not HAVE_SANDBOX, reason='Only available with a functioning sandbox') def test_regression_cache_corruption_2(cli, datafiles): project = str(datafiles) checkout_original = os.path.join(cli.directory, 'checkout-original') |