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/examples/running-commands.py | |
parent | b592cb85c7e8f3580e75dff531d44ec1bed84dc1 (diff) | |
download | buildstream-bschubert/test-skips.tar.gz |
Diffstat (limited to 'tests/examples/running-commands.py')
-rw-r--r-- | tests/examples/running-commands.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/examples/running-commands.py b/tests/examples/running-commands.py index 1c419d524..f49d9cd59 100644 --- a/tests/examples/running-commands.py +++ b/tests/examples/running-commands.py @@ -14,11 +14,11 @@ DATA_DIR = os.path.join( ) -@pytest.mark.skipif(MACHINE_ARCH != 'x86-64', +@pytest.mark.xfail(MACHINE_ARCH != 'x86-64', reason='Examples are written for x86-64') @pytest.mark.datafiles(DATA_DIR) -@pytest.mark.skipif(not IS_LINUX or not HAVE_SANDBOX, reason='Only available on linux with sandbox') -@pytest.mark.skipif(HAVE_SANDBOX == 'chroot', reason='This test is not meant to work with chroot sandbox') +@pytest.mark.xfail(not IS_LINUX or not HAVE_SANDBOX, reason='Only available on linux with sandbox') +@pytest.mark.xfail(HAVE_SANDBOX == 'chroot', reason='This test is not meant to work with chroot sandbox') def test_running_commands_build(cli, datafiles): project = str(datafiles) @@ -27,10 +27,10 @@ def test_running_commands_build(cli, datafiles): # Test running the executable -@pytest.mark.skipif(MACHINE_ARCH != 'x86-64', +@pytest.mark.xfail(MACHINE_ARCH != 'x86-64', reason='Examples are written for x86-64') -@pytest.mark.skipif(not IS_LINUX or not HAVE_SANDBOX, reason='Only available on linux with sandbox') -@pytest.mark.skipif(HAVE_SANDBOX == 'chroot', reason='This test is not meant to work with chroot sandbox') +@pytest.mark.xfail(not IS_LINUX or not HAVE_SANDBOX, reason='Only available on linux with sandbox') +@pytest.mark.xfail(HAVE_SANDBOX == 'chroot', reason='This test is not meant to work with chroot sandbox') @pytest.mark.datafiles(DATA_DIR) def test_running_commands_run(cli, datafiles): project = str(datafiles) |